CalendarSelectableDayPredicate typedef
A scrollable list of years to allow picking a year.
The year picker widget is rarely used directly. Instead, consider using showDatePicker, which creates a date picker calendar.
Requires one of its ancestors to be a Material widget.
See also:
- showDatePicker
- material.google.com/components/pickers.html#pickers-date-pickers Signature for predicating dates for enabled date selections.
See showDatePicker.
Implementation
/// Signature for predicating dates for enabled date selections.
///
/// See [showDatePicker].
typedef CalendarSelectableDayPredicate = bool Function(DateTime day);