SelectableTimePredicate typedef

SelectableTimePredicate = bool Function(TimeOfDay time)

Signature for predicating times for enabled time selections.

See showCustomTimePicker, which has a SelectableTimePredicate parameter used to specify allowable times in the time picker.

Implementation

typedef SelectableTimePredicate = bool Function(TimeOfDay time);