material_duration_picker
library
Functions
-
hourDurationFormat({required DurationFormat of})
→ HourFormat
-
The HourFormat used for the given DurationFormat.
-
showDurationPicker({required BuildContext context, Duration? initialDuration, TransitionBuilder? builder, bool barrierDismissible = true, Color? barrierColor, String? barrierLabel, bool useRootNavigator = true, DurationPickerEntryMode initialEntryMode = DurationPickerEntryMode.dial, DurationPickerMode durationPickerMode = DurationPickerMode.hms, String? cancelText, String? confirmText, String? helpText, String? errorInvalidText, String? hourLabelText, String? minuteLabelText, String? secondLabelText, RouteSettings? routeSettings, DurationEntryModeChangeCallback? onEntryModeChanged, Offset? anchorPoint, Orientation? orientation})
→ Future<Duration?>
-
Shows a dialog containing a Material Design time picker.