SwitchTheme
Defines default property values for descendant Switch controls.
Properties
- 
          mouse_cursor(ControlStateValue[MouseCursor] | None) –Overrides the default value of Switch.mouse_cursorin
- 
          overlay_color(ControlStateValue[ColorValue] | None) –Overrides the default value of Switch.overlay_color
- 
          padding(PaddingValue | None) –Overrides the default value of Switch.paddingin
- 
          splash_radius(Number | None) –Overrides the default value of Switch.splash_radius
- 
          thumb_color(ControlStateValue[ColorValue] | None) –Overrides the default value of Switch.thumb_colorin
- 
          thumb_icon(ControlStateValue[IconData] | None) –Overrides the default value of Switch.thumb_iconin all
- 
          track_color(ControlStateValue[ColorValue] | None) –Overrides the default value of Switch.track_colorin
- 
          track_outline_color(ControlStateValue[ColorValue] | None) –Overrides the default value of 
- 
          track_outline_width(ControlStateValue[Number | None] | None) –Overrides the default value of 
Properties#
class-attribute
      instance-attribute
  
#
mouse_cursor: ControlStateValue[MouseCursor] | None = None
Overrides the default value of Switch.mouse_cursor in
all descendant Switch controls.
class-attribute
      instance-attribute
  
#
overlay_color: ControlStateValue[ColorValue] | None = None
Overrides the default value of Switch.overlay_color
in all descendant Switch controls.
class-attribute
      instance-attribute
  
#
padding: PaddingValue | None = None
Overrides the default value of Switch.padding in
all descendant Switch controls.
class-attribute
      instance-attribute
  
#
splash_radius: Number | None = None
Overrides the default value of Switch.splash_radius
in all descendant Switch controls.
class-attribute
      instance-attribute
  
#
thumb_color: ControlStateValue[ColorValue] | None = None
Overrides the default value of Switch.thumb_color in
all descendant Switch controls.
class-attribute
      instance-attribute
  
#
thumb_icon: ControlStateValue[IconData] | None = None
Overrides the default value of Switch.thumb_icon in all
descendant Switch controls.
class-attribute
      instance-attribute
  
#
track_color: ControlStateValue[ColorValue] | None = None
Overrides the default value of Switch.track_color in
all descendant Switch controls.
class-attribute
      instance-attribute
  
#
track_outline_color: (
    ControlStateValue[ColorValue] | None
) = None
Overrides the default value of
Switch.track_outline_color in all descendant
Switch controls.
class-attribute
      instance-attribute
  
#
track_outline_width: (
    ControlStateValue[Number | None] | None
) = None
Overrides the default value of
Switch.track_outline_width in all descendant
Switch controls.