Welcome to the Flutter feedback portal. We’re happy you’re here! If you have feedback on how to improve the Flutter, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hey everyone,

Feature details:

  • Add a predicate in DateRangePickerMonthViewSettings for example called "isDateSelectable" that allows us to return a boolean indicating whether a certain date is selectable or not (should be called for any dates currently active on the screen.)
Use case:
  • Currently, blackOutDates is just a list of dates which allows us to supply a list of dates to black out but it precludes scenarios where for example I want to allow only Mondays to be selected.
  • The only way we can do that currently is to rebuild the widget and its blackOutDates property from inside the onViewChanged callback which is a viable workaround but causes the entire widget to be rebuild no matter the state management solution on hand.
Regards,
Ahmed