AtomicTimePicker constructor
const
AtomicTimePicker({
- Key? key,
- TimeOfDay? initialTime,
- ValueChanged<
TimeOfDay?> ? onTimeSelected, - String? helpText,
- String? cancelText,
- String? confirmText,
- String? hourLabelText,
- String? minuteLabelText,
- String? errorInvalidText,
- TransitionBuilder? builder,
- RouteSettings? routeSettings,
- TimePickerEntryMode entryMode = TimePickerEntryMode.dial,
- Orientation? orientation,
- AtomicTimePickerVariant variant = AtomicTimePickerVariant.filled,
- AtomicTimePickerSize size = AtomicTimePickerSize.medium,
- bool showIcon = true,
- bool enabled = true,
- bool readOnly = false,
- String? label,
- String? helperText,
- String? errorText,
- String timeFormat()?,
- bool? use24HourFormat,
Implementation
const AtomicTimePicker({
super.key,
this.initialTime,
this.onTimeSelected,
this.helpText,
this.cancelText,
this.confirmText,
this.hourLabelText,
this.minuteLabelText,
this.errorInvalidText,
this.builder,
this.useRootNavigator = true,
this.routeSettings,
this.entryMode = TimePickerEntryMode.dial,
this.orientation,
this.variant = AtomicTimePickerVariant.filled,
this.size = AtomicTimePickerSize.medium,
this.showIcon = true,
this.enabled = true,
this.readOnly = false,
this.label,
this.helperText,
this.errorText,
this.timeFormat,
this.use24HourFormat,
});