TimePicker constructor
TimePicker(})
Construct a TimePicker object, wired to element
.
*
-
element
- the container to put the TimePicker.
-
time
- the time displayed on input, legal format: '12:25'
-
step
- specify a step for the minute field.
Implementation
factory TimePicker(Element element, {
String? time, DateTime? date, int? step, int? maxHour = 24,
bool? enable24HourTime, bool? enableSecond, bool? enableDefaultEmpty})
=> _TimePickerImpl(element, time: time, date: date,
step: step, maxHour: maxHour,
enableSecond: enableSecond,
enable24HourTime: enable24HourTime,
enableDefaultEmpty: enableDefaultEmpty,
);