TimePickerTheme
Customizes the appearance of TimePicker controls across the
app.
Properties
- 
          bgcolor(ColorValue | None) –The background color of a TimePicker.
- 
          cancel_button_style(ButtonStyle | None) –The style of the cancel button of a TimePicker.
- 
          confirm_button_style(ButtonStyle | None) –The style of the confirm (OK) button of a TimePicker.
- 
          day_period_border_side(BorderSide | None) –The color and weight of the day period's outline. 
- 
          day_period_button_style(ButtonStyle | None) –The style of the AM/PM toggle control of a TimePicker.
- 
          day_period_color(ColorValue | None) –The background color of the AM/PM toggle. 
- 
          day_period_shape(OutlinedBorder | None) –The shape of the day period that the TimePickeruses.
- 
          day_period_text_color(ColorValue | None) –The color of the day period text that represents AM/PM. 
- 
          day_period_text_style(TextStyle | None) –Used to configure the TextStyle for the AM/PM toggle control. 
- 
          dial_bgcolor(ColorValue | None) –The background color of the time picker dial when the entry mode is 
- 
          dial_hand_color(ColorValue | None) –The color of the time picker dial's hand when the entry mode is 
- 
          dial_text_color(ColorValue | None) –The color of the dial text that represents specific hours and minutes. 
- 
          dial_text_style(TextStyle | None) –The TextStyle for the numbers on the time selection dial. 
- 
          elevation(Number | None) –The Material elevation for the time picker dialog. 
- 
          entry_mode_icon_color(ColorValue | None) –The color of the entry mode IconButton.
- 
          help_text_style(TextStyle | None) –Used to configure the TextStyle for the helper text in the header. 
- 
          hour_minute_color(ColorValue | None) –The background color of the hour and minute header segments. 
- 
          hour_minute_shape(OutlinedBorder | None) –The shape of the hour and minute controls that the TimePicker
- 
          hour_minute_text_color(ColorValue | None) –The color of the header text that represents hours and minutes. 
- 
          hour_minute_text_style(TextStyle | None) –Used to configure the TextStyle for the hour/minute controls. 
- 
          padding(PaddingValue | None) –The padding around the time picker dialog when the entry mode is 
- 
          shape(OutlinedBorder | None) –The shape of the Dialog that the time picker is presented in. 
- 
          time_selector_separator_color(ControlStateValue[ColorValue] | None) –The color of the time selector separator between the hour and minute controls. 
- 
          time_selector_separator_text_style(ControlStateValue[TextStyle] | None) –Used to configure the text style for the time selector separator between the hour 
Properties#
class-attribute
      instance-attribute
  
#
bgcolor: ColorValue | None = None
The background color of a TimePicker.
If this is null, the time picker defaults to the overall theme's
ColorScheme.surface_container_high.
class-attribute
      instance-attribute
  
#
cancel_button_style: ButtonStyle | None = None
The style of the cancel button of a TimePicker.
class-attribute
      instance-attribute
  
#
confirm_button_style: ButtonStyle | None = None
The style of the confirm (OK) button of a TimePicker.
class-attribute
      instance-attribute
  
#
day_period_border_side: BorderSide | None = None
The color and weight of the day period's outline.
class-attribute
      instance-attribute
  
#
day_period_button_style: ButtonStyle | None = None
The style of the AM/PM toggle control of a TimePicker.
class-attribute
      instance-attribute
  
#
day_period_color: ColorValue | None = None
The background color of the AM/PM toggle.
class-attribute
      instance-attribute
  
#
day_period_shape: OutlinedBorder | None = None
The shape of the day period that the TimePicker uses.
class-attribute
      instance-attribute
  
#
day_period_text_color: ColorValue | None = None
The color of the day period text that represents AM/PM.
class-attribute
      instance-attribute
  
#
day_period_text_style: TextStyle | None = None
Used to configure the TextStyle for the AM/PM toggle control.
If this is null, the time picker defaults to the overall theme's
TextTheme.title_medium.
class-attribute
      instance-attribute
  
#
dial_bgcolor: ColorValue | None = None
The background color of the time picker dial when the entry mode is
TimePickerEntryMode.DIAL or
TimePickerEntryMode.DIAL_ONLY.
class-attribute
      instance-attribute
  
#
dial_hand_color: ColorValue | None = None
The color of the time picker dial's hand when the entry mode is
TimePickerEntryMode.DIAL or
TimePickerEntryMode.DIAL_ONLY.
class-attribute
      instance-attribute
  
#
dial_text_color: ColorValue | None = None
The color of the dial text that represents specific hours and minutes.
class-attribute
      instance-attribute
  
#
dial_text_style: TextStyle | None = None
The TextStyle for the numbers on the time selection dial.
class-attribute
      instance-attribute
  
#
elevation: Number | None = None
The Material elevation for the time picker dialog.
class-attribute
      instance-attribute
  
#
entry_mode_icon_color: ColorValue | None = None
The color of the entry mode IconButton.
class-attribute
      instance-attribute
  
#
help_text_style: TextStyle | None = None
Used to configure the TextStyle for the helper text in the header.
class-attribute
      instance-attribute
  
#
hour_minute_color: ColorValue | None = None
The background color of the hour and minute header segments.
class-attribute
      instance-attribute
  
#
hour_minute_shape: OutlinedBorder | None = None
The shape of the hour and minute controls that the TimePicker
uses.
class-attribute
      instance-attribute
  
#
hour_minute_text_color: ColorValue | None = None
The color of the header text that represents hours and minutes.
class-attribute
      instance-attribute
  
#
hour_minute_text_style: TextStyle | None = None
Used to configure the TextStyle for the hour/minute controls.
class-attribute
      instance-attribute
  
#
padding: PaddingValue | None = None
The padding around the time picker dialog when the entry mode is
TimePickerEntryMode.DIAL or
TimePickerEntryMode.DIAL_ONLY.
class-attribute
      instance-attribute
  
#
shape: OutlinedBorder | None = None
The shape of the Dialog that the time picker is presented in.
class-attribute
      instance-attribute
  
#
time_selector_separator_color: (
    ControlStateValue[ColorValue] | None
) = None
The color of the time selector separator between the hour and minute controls.
class-attribute
      instance-attribute
  
#
time_selector_separator_text_style: (
    ControlStateValue[TextStyle] | None
) = None
Used to configure the text style for the time selector separator between the hour and minute controls.