time_picker_widget library

Enums

TimePickerEntryMode
Interactive input mode of the time picker dialog.

Functions

showCustomTimePicker({required BuildContext context, required TimeOfDay initialTime, TransitionBuilder? builder, bool useRootNavigator = true, TimePickerEntryMode initialEntryMode = TimePickerEntryMode.dial, String? cancelText, String? confirmText, String? helpText, RouteSettings? routeSettings, bool selectableTimePredicate(TimeOfDay?)?, dynamic onFailValidation(BuildContext)?}) Future<TimeOfDay?>
Shows a dialog containing a material design time picker.

Typedefs

SelectableTimePredicate = bool Function(TimeOfDay time)
Signature for predicating times for enabled time selections.