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

Please add a TextStyle for dates outside the selected month #92

Open
ma-ruz opened this issue Mar 31, 2022 · 1 comment
Open

Please add a TextStyle for dates outside the selected month #92

ma-ruz opened this issue Mar 31, 2022 · 1 comment

Comments

@ma-ruz
Copy link

ma-ruz commented Mar 31, 2022

When showNextMonthStart and/or showPrevMonthEnd are turned on, it would be fine to be able to display the added days in a different TextStyle. Please add it to DatePickerStyles.

@ma-ruz
Copy link
Author

ma-ruz commented Mar 31, 2022

I solved it by using an eventDecorationBuilder which compares the date with the selected month which I have to store in onMonthChanged which needs the widget to be rebuilt (to apply the colors after switching the month) but I hope this is just a temporary solution as it can be much more easily implemented in the library.

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

1 participant