TimePickerPopup
Use the timer picker to select the time, in either 24-hour or 12-hour mode (AM/PM).
Properties
use-24-hour-format
: (in bool): If set totrue
24 hours are displayed otherwise it is displayed in AM/PM mode. (default: system default, if cannot be determined thentrue
)title
(in string): The text that is displayed at the top of the picker.time
: (in structTime
): Set the initial displayed time.
Callbacks
canceled()
: The cancel button was clicked.accepted(Time)
The ok button was clicked.
Example
Struct Time
Defines a time with hours, minutes, and seconds.
Fields
hour
(int): The hour value (range from 0 to 23).minute
(int): The minute value (range from 1 to 59).second
(int): The second value (range form 1 to 59).