Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numbers not aligned with pickerHeight set #50

Open
LuisMiguelSS opened this issue Jun 7, 2022 · 1 comment
Open

Numbers not aligned with pickerHeight set #50

LuisMiguelSS opened this issue Jun 7, 2022 · 1 comment

Comments

@LuisMiguelSS
Copy link

I've found that, after setting the attribute pickerHeight in the DateTimePickerTheme and 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
Copy link

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

thanks.!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants