TimePickerTheme
Customizes the appearance of TimePicker controls across the app.
Properties
bgcolor- The background color of a TimePicker.cancel_button_style- The style of the cancel button of a TimePicker.confirm_button_style- The style of the confirm (OK) button of a TimePicker.day_period_border_side- The color and weight of the day period's outline.day_period_button_style- The style of the AM/PM toggle control of a TimePicker.day_period_color- The background color of the AM/PM toggle.day_period_shape- The shape of the day period that the TimePicker uses.day_period_text_color- The color of the day period text that represents AM/PM.day_period_text_style- Used to configure the TextStyle for the AM/PM toggle control.dial_bgcolor- The background color of the time picker dial when the entry mode is flet.TimePickerEntryMode.DIAL or flet.TimePickerEntryMode.DIAL_ONLY.dial_hand_color- The color of the time picker dial's hand when the entry mode is flet.TimePickerEntryMode.DIAL or flet.TimePickerEntryMode.DIAL_ONLY.dial_text_color- The color of the dial text that represents specific hours and minutes.dial_text_style- The TextStyle for the numbers on the time selection dial.elevation- The Material elevation for the time picker dialog.entry_mode_icon_color- The color of the entry mode IconButton.help_text_style- Used to configure the TextStyle for the helper text in the header.hour_minute_color- The background color of the hour and minute header segments.hour_minute_shape- The shape of the hour and minute controls that the TimePicker uses.hour_minute_text_color- The color of the header text that represents hours and minutes.hour_minute_text_style- Used to configure the TextStyle for the hour/minute controls.padding- The padding around the time picker dialog when the entry mode is flet.TimePickerEntryMode.DIAL or flet.TimePickerEntryMode.DIAL_ONLY.shape- The shape of the Dialog that the time picker is presented in.time_selector_separator_color- The color of the time selector separator between the hour and minute controls.time_selector_separator_text_style- Used to configure the text style for the time selector separator between the hour and minute controls.
Properties
bgcolorclass-attributeinstance-attribute
bgcolor: Optional[ColorValue] = NoneThe background color of a TimePicker.
If this is null, the time picker defaults to the overall theme's flet.ColorScheme.surface_container_high.
cancel_button_styleclass-attributeinstance-attribute
cancel_button_style: Optional[ButtonStyle] = NoneThe style of the cancel button of a TimePicker.
confirm_button_styleclass-attributeinstance-attribute
confirm_button_style: Optional[ButtonStyle] = NoneThe style of the confirm (OK) button of a TimePicker.
day_period_border_sideclass-attributeinstance-attribute
day_period_border_side: Optional[BorderSide] = NoneThe color and weight of the day period's outline.
day_period_button_styleclass-attributeinstance-attribute
day_period_button_style: Optional[ButtonStyle] = NoneThe style of the AM/PM toggle control of a TimePicker.
day_period_colorclass-attributeinstance-attribute
day_period_color: Optional[ColorValue] = NoneThe background color of the AM/PM toggle.
day_period_shapeclass-attributeinstance-attribute
day_period_shape: Optional[OutlinedBorder] = NoneThe shape of the day period that the TimePicker uses.
day_period_text_colorclass-attributeinstance-attribute
day_period_text_color: Optional[ColorValue] = NoneThe color of the day period text that represents AM/PM.
day_period_text_styleclass-attributeinstance-attribute
day_period_text_style: Optional[TextStyle] = NoneUsed to configure the TextStyle for the AM/PM toggle control.
If this is null, the time picker defaults to the overall theme's flet.TextTheme.title_medium.
dial_bgcolorclass-attributeinstance-attribute
dial_bgcolor: Optional[ColorValue] = NoneThe background color of the time picker dial when the entry mode is flet.TimePickerEntryMode.DIAL or flet.TimePickerEntryMode.DIAL_ONLY.
dial_hand_colorclass-attributeinstance-attribute
dial_hand_color: Optional[ColorValue] = NoneThe color of the time picker dial's hand when the entry mode is flet.TimePickerEntryMode.DIAL or flet.TimePickerEntryMode.DIAL_ONLY.
dial_text_colorclass-attributeinstance-attribute
dial_text_color: Optional[ColorValue] = NoneThe color of the dial text that represents specific hours and minutes.
dial_text_styleclass-attributeinstance-attribute
dial_text_style: Optional[TextStyle] = NoneThe TextStyle for the numbers on the time selection dial.
elevationclass-attributeinstance-attribute
elevation: Optional[Number] = NoneThe Material elevation for the time picker dialog.
entry_mode_icon_colorclass-attributeinstance-attribute
entry_mode_icon_color: Optional[ColorValue] = NoneThe color of the entry mode IconButton.
help_text_styleclass-attributeinstance-attribute
help_text_style: Optional[TextStyle] = NoneUsed to configure the TextStyle for the helper text in the header.
hour_minute_colorclass-attributeinstance-attribute
hour_minute_color: Optional[ColorValue] = NoneThe background color of the hour and minute header segments.
hour_minute_shapeclass-attributeinstance-attribute
hour_minute_shape: Optional[OutlinedBorder] = NoneThe shape of the hour and minute controls that the TimePicker uses.
hour_minute_text_colorclass-attributeinstance-attribute
hour_minute_text_color: Optional[ColorValue] = NoneThe color of the header text that represents hours and minutes.
hour_minute_text_styleclass-attributeinstance-attribute
hour_minute_text_style: Optional[TextStyle] = NoneUsed to configure the TextStyle for the hour/minute controls.
paddingclass-attributeinstance-attribute
padding: Optional[PaddingValue] = NoneThe padding around the time picker dialog when the entry mode is flet.TimePickerEntryMode.DIAL or flet.TimePickerEntryMode.DIAL_ONLY.
shapeclass-attributeinstance-attribute
shape: Optional[OutlinedBorder] = NoneThe shape of the Dialog that the time picker is presented in.
time_selector_separator_colorclass-attributeinstance-attribute
time_selector_separator_color: Optional[ControlStateValue[ColorValue]] = NoneThe color of the time selector separator between the hour and minute controls.
time_selector_separator_text_styleclass-attributeinstance-attribute
time_selector_separator_text_style: Optional[ControlStateValue[TextStyle]] = NoneUsed to configure the text style for the time selector separator between the hour and minute controls.