Open LuisMiguelSS opened 2 years ago
I've found that, after setting the attribute pickerHeight in the DateTimePickerThemeand then setting it to the DatePickerWidget's pickerTheme, the numbers (day/month/year) are not vertically aligned.
pickerHeight
DateTimePickerTheme
DatePickerWidget
pickerTheme
Screenshot:
Code:
... DateTimePickerTheme myTheme = const DateTimePickerTheme( pickerHeight: 200 ); ... DatePickerWidget( initialDate: DateTime.now(), lastDate: DateTime.now(), dateFormat: "dd-MM-yyyy", pickerTheme: myTheme, )
If you slide between the items, the element gets repositioned in the middle as well:
I have the same problem, did you manage to solve it?
thanks.!
I've found that, after setting the attribute
pickerHeight
in theDateTimePickerTheme
and then setting it to theDatePickerWidget
'spickerTheme
, the numbers (day/month/year) are not vertically aligned.Screenshot:
Code:
If you slide between the items, the element gets repositioned in the middle as well: