SliderTheme
Customizes the appearance of descendant Slider controls.
Properties
- 
          active_tick_mark_color(ColorValue | None) –The color of the track's tick marks that are drawn between the 
- 
          active_track_color(ColorValue | None) –Overrides the default value for Slider.active_color.
- 
          disabled_active_tick_mark_color(ColorValue | None) –The color of the track's tick marks that are drawn between the current thumb 
- 
          disabled_active_track_color(ColorValue | None) –The color of the Slidertrack between the
- 
          disabled_inactive_tick_mark_color(ColorValue | None) –The color of the track's tick marks that are drawn between the current thumb 
- 
          disabled_inactive_track_color(ColorValue | None) –The color of the Slidertrack between the current thumb position
- 
          disabled_secondary_active_track_color(ColorValue | None) –The color of the Slidertrack between the current thumb position
- 
          disabled_thumb_color(ColorValue | None) –The color given to the thumb to draw itself with when the Slider
- 
          inactive_tick_mark_color(ColorValue | None) –The color of the track's tick marks that are drawn between the current thumb 
- 
          inactive_track_color(ColorValue | None) –Overrides the default value for 
- 
          interaction(SliderInteraction | None) –Overrides the default value for Slider.interaction.
- 
          min_thumb_separation(Number | None) –Limits the thumb's separation distance. 
- 
          mouse_cursor(ControlStateValue[MouseCursor] | None) –Overrides the default value for Slider.mouse_cursor.
- 
          overlapping_shape_stroke_color(ColorValue | None) –The color given to the perimeter of the top range thumbs of a 
- 
          overlay_color(ColorValue | None) –Overrides the default value for Slider.overlay_color.
- 
          padding(PaddingValue | None) –Overrides the default value for Slider.padding.
- 
          secondary_active_track_color(ColorValue | None) –Overrides the default value for 
- 
          thumb_color(ColorValue | None) –Overrides the default value for Slider.thumb_color.
- 
          thumb_size(ControlStateValue[Size] | None) –The size of the handle thumb shape thumb. 
- 
          track_gap(Number | None) –The size of the gap between the active and inactive tracks of the gapped slider 
- 
          track_height(Number | None) –The height of the Slider track. 
- 
          value_indicator_color(ColorValue | None) –The color given to the Slider's value indicator to draw
- 
          value_indicator_stroke_color(ColorValue | None) –The color given to the value indicator shape stroke. 
- 
          value_indicator_text_style(TextStyle | None) –The TextStyle for the text on the value indicator. 
- 
          year_2023(bool) –Overrides the default value for Slider.year_2023.
Properties#
class-attribute
      instance-attribute
  
#
active_tick_mark_color: ColorValue | None = None
The color of the track's tick marks that are drawn between the Slider.min position and the current thumb position.
class-attribute
      instance-attribute
  
#
active_track_color: ColorValue | None = None
Overrides the default value for Slider.active_color.
class-attribute
      instance-attribute
  
#
disabled_active_tick_mark_color: ColorValue | None = None
The color of the track's tick marks that are drawn between the current thumb
osition and the Slider.max position when the
Slider is disabled.
class-attribute
      instance-attribute
  
#
disabled_active_track_color: ColorValue | None = None
The color of the Slider track between the
Slider.min position and the current thumb position when the
Slider is disabled.
class-attribute
      instance-attribute
  
#
disabled_inactive_tick_mark_color: ColorValue | None = None
The color of the track's tick marks that are drawn between the current thumb
position and the Slider.max position when the
Slider is disabled.
class-attribute
      instance-attribute
  
#
disabled_inactive_track_color: ColorValue | None = None
The color of the Slider track between the current thumb position
and the Slider.max position when the Slider is
disabled.
class-attribute
      instance-attribute
  
#
disabled_secondary_active_track_color: ColorValue | None = (
    None
)
The color of the Slider track between the current thumb position
and the Slider.secondary_track_value position
when the Slider is disabled.
class-attribute
      instance-attribute
  
#
disabled_thumb_color: ColorValue | None = None
The color given to the thumb to draw itself with when the Slider
is disabled.
class-attribute
      instance-attribute
  
#
inactive_tick_mark_color: ColorValue | None = None
The color of the track's tick marks that are drawn between the current thumb position and the Slider.max position.
class-attribute
      instance-attribute
  
#
inactive_track_color: ColorValue | None = None
Overrides the default value for
Slider.inactive_color.
class-attribute
      instance-attribute
  
#
interaction: SliderInteraction | None = None
Overrides the default value for Slider.interaction.
class-attribute
      instance-attribute
  
#
min_thumb_separation: Number | None = None
Limits the thumb's separation distance.
Use this only if you want to control the visual appearance of the thumbs in terms of a logical pixel value. This can be done when you want a specific look for thumbs when they are close together. To limit with the real values, rather than logical pixels, the values can be restricted by the parent.
class-attribute
      instance-attribute
  
#
mouse_cursor: ControlStateValue[MouseCursor] | None = None
Overrides the default value for Slider.mouse_cursor.
class-attribute
      instance-attribute
  
#
overlapping_shape_stroke_color: ColorValue | None = None
The color given to the perimeter of the top range thumbs of a RangeSlider when the thumbs are overlapping and the top range value indicator when the value indicators are overlapping.
class-attribute
      instance-attribute
  
#
overlay_color: ColorValue | None = None
Overrides the default value for Slider.overlay_color.
class-attribute
      instance-attribute
  
#
padding: PaddingValue | None = None
Overrides the default value for Slider.padding.
class-attribute
      instance-attribute
  
#
secondary_active_track_color: ColorValue | None = None
Overrides the default value for
Slider.secondary_active_color.
class-attribute
      instance-attribute
  
#
thumb_color: ColorValue | None = None
Overrides the default value for Slider.thumb_color.
class-attribute
      instance-attribute
  
#
thumb_size: ControlStateValue[Size] | None = None
The size of the handle thumb shape thumb.
class-attribute
      instance-attribute
  
#
track_gap: Number | None = None
The size of the gap between the active and inactive tracks of the gapped slider track shape.
class-attribute
      instance-attribute
  
#
track_height: Number | None = None
The height of the Slider track.
class-attribute
      instance-attribute
  
#
value_indicator_color: ColorValue | None = None
The color given to the Slider's value indicator to draw
itself with.
class-attribute
      instance-attribute
  
#
value_indicator_stroke_color: ColorValue | None = None
The color given to the value indicator shape stroke.
class-attribute
      instance-attribute
  
#
value_indicator_text_style: TextStyle | None = None
The TextStyle for the text on the value indicator.
class-attribute
      instance-attribute
  
#
year_2023: bool = False
Overrides the default value for Slider.year_2023.