TimePickerUtil class

Constructors

TimePickerUtil.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

formatDuration(Duration duration) String
formatTimeOfDay(TimeOfDay time, {bool alwaysUse24HourFormat = false}) String
showCustomTimePicker({TimeOfDay? initialTime, String? helpText, String? cancelText, String? confirmText, TimePickerEntryMode initialEntryMode = TimePickerEntryMode.dial, Color? primaryColor, Color? textColor, Color? backgroundColor, bool use24HourFormat = false, bool barrierDismissible = true}) Future<TimeOfDay?>
showDurationPicker({Duration? initialDuration, Duration? maxDuration, bool showHours = true, bool showMinutes = true, bool showSeconds = true, Color? primaryColor, Color? backgroundColor, Color? textColor}) Future<Duration?>