In a Flutter App with no GlobalCupertinoLocalizations.delegate set, calling DateTimeFormField with pickerPlatform set to DateTimeFieldPickerPlatform.material, the assertion assert(debugCheckHasCupertinoLocalizations(context)) naturally fails, when it should not be asserted.
same goes the other way around, i guess.
In a Flutter App with no
GlobalCupertinoLocalizations.delegate
set, callingDateTimeFormField
withpickerPlatform
set toDateTimeFieldPickerPlatform.material
, the assertionassert(debugCheckHasCupertinoLocalizations(context))
naturally fails, when it should not be asserted. same goes the other way around, i guess.