SelectableDayPredicate typedef
Signature for predicating dates for enabled date selections.
See showDatePicker and showCupertinoModalPopup, which have a SelectableDayPredicate parameter used to specify allowable days in the date picker.
Implementation
typedef SelectableDayPredicate = bool Function(DateTime day);