TimePicker class abstract

Constructors

TimePicker(Element element, {String? time, DateTime? date, int? step, int? maxHour = 24, bool? enable24HourTime, bool? enableSecond, bool? enableDay, bool? enableDayHourOnly, bool? enableDefaultEmpty})
Construct a TimePicker object, wired to element. *
factory

Properties

date ↔ DateTime?
Get date.
getter/setter pair
day → String
Get value of day field.
no setter
days ↔ int
Get days.
getter/setter pair
enable24HourTime ← bool
no getter
enableDay ← bool
no getter
enableDayHourOnly ← bool
no getter
enableDefaultEmpty ← bool
Whether to enable default empty --:-- (default: true).
no getter
enableSecond ← bool
no getter
hashCode → int
The hash code for this object.
no setterinherited
hour → String
Get value of hour field.
no setter
locale ↔ String
The date format locale of the calendar value.
getter/setter pair
minute → String
Get value of minute field.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
second → String
Get value of second field.
no setter
step ↔ int
Get step for minute field
getter/setter pair
time ↔ String
Get time with format: '00:00'.
getter/setter pair
timeValues → List<int?>
no setter

Methods

highlight() → void
highlight first field
highlightAmPm() → void
highlightDay() → void
highlightHour() → void
highlightMinute() → void
highlightSecond() → void
incrementDay(bool add) → void
incrementHour(bool add) → void
incrementMinute(bool add) → void
incrementSecond(bool add) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggleAmPm() → void
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

use() → void
Register to use TimePicker component.
wire(Element element, [TimePicker create()?]) → TimePicker
Retrieve the wired TimePicker object from an element. If there is no wired