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

Wishlist: allow providing custom style/decoration for each day #8

Closed
JustSayBien opened this issue Oct 18, 2019 · 4 comments
Closed

Comments

@JustSayBien
Copy link

For range-pickers it is possible atm to set selectedPeriodStartDecoration, selectedPeriodMiddleDecoration and selectedPeriodLastDecoration.

It would be very nice to have more flexibility here and be able to decorate each day independently (for example via builder-pattern, like BoxDecoration Function(DateTime dateTime))

@MariaMelnik
Copy link
Owner

@JustSayBien thank you for your feedback. I have this in my todo list for this package as well. Hope I will have time to implement it soon.

@MariaMelnik
Copy link
Owner

@JustSayBien Hi! Now you can decorate each day with eventDecorationBuilder.
https://pub.dev/packages/flutter_date_pickers

@cagricibuk
Copy link

How to make different styles for difrferent events

@MariaMelnik
Copy link
Owner

@cagricibuk you can use eventDecorationBuilder that is accessible for DayPicker, WeekPicker and RangePicker to do so.

Also you can read README file to find out what else you can customize in date pickers.

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

3 participants