GaspardMerten / date_field

Flutter DateField and DateFormField
Other
45 stars 32 forks source link

[BUG] - Version 5.2.0: The name 'MaterialDatePickerOptions' isn't a class #72

Closed DouglasOGarrido closed 3 months ago

DouglasOGarrido commented 3 months ago

Describe the bug Hi @GaspardMerten, I already update my project with the new version (5.2.0), and now the parameter "materialDatePickerOptions" doesn't recognize the class "MaterialDatePickerOptions".

Something change in this class?

Thank you.

To Reproduce Just update the lib to the version 5.2.0 and use the parameter "materialDatePickerOptions".

Expected behavior That the parameter "materialDatePickerOptions" works.

Screenshots image

Smartphone (please complete the following information):

PS: The others classes "CupertinoDatePickerOptions" and "MaterialTimePickerOptions" works like a charm.

GaspardMerten commented 3 months ago

Hey @DouglasOGarrido, sorry for that. It should be fixed by now (v5.2.1), can you confirm?

DouglasOGarrido commented 3 months ago

Now it works on v5.2.1.

Thanks for that!