kfiross / flutter_holo_date_picker

A Flutter package of datepicker like Holo Theme in Android
MIT License
61 stars 77 forks source link

Numbers not aligned with `pickerHeight` set #50

Open LuisMiguelSS opened 2 years ago

LuisMiguelSS commented 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.

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:

alvarezmolina2398 commented 1 year ago

I have the same problem, did you manage to solve it?

thanks.!