Skip to main content

SliderTheme

Customizes the appearance of Slider across the app.

SliderTheme class has the following properties:

active_track_color

Overrides the default value of Slider.active_track_color in all descendant Slider controls.

disabled_thumb_color

Overrides the default value of Slider.disabled_thumb_color in all descendant Slider controls.

inactive_track_color

Overrides the default value of Slider.inactive_track_color in all descendant Slider controls.

overlay_color

Overrides the default value of Slider.overlay_color in all descendant Slider controls.

thumb_color

Overrides the default value of Slider.thumb_color in all descendant Slider controls.

value_indicator_color

Overrides the default value of Slider.value_indicator_color in all descendant Slider controls.

value_indicator_text_style

Overrides the default value of Slider.value_indicator_text_style in all descendant Slider controls.

mouse_cursor

Overrides the default value of Slider.mouse_cursor in all descendant Slider controls.

active_tick_mark_color

Overrides the default value of Slider.active_tick_mark_color in all descendant Slider controls.

disabled_active_tick_mark_color

Overrides the default value of Slider.disabled_active_tick_mark_color in all descendant Slider controls.

disabled_active_track_color

Overrides the default value of Slider.disabled_active_track_color in all descendant Slider controls.

disabled_inactive_tick_mark_color

Overrides the default value of Slider.disabled_inactive_tick_mark_color in all descendant Slider controls.

disabled_inactive_track_color

Overrides the default value of Slider.disabled_inactive_track_color in all descendant Slider controls.

disabled_secondary_active_track_color

Overrides the default value of Slider.disabled_secondary_active_track_color in all descendant Slider controls.

inactive_tick_mark_color

Overrides the default value of Slider.inactive_tick_mark_color in all descendant Slider controls.

overlapping_shape_stroke_color

Overrides the default value of Slider.overlapping_shape_stroke_color in all descendant Slider controls.

min_thumb_separation

Overrides the default value of Slider.min_thumb_separation in all descendant Slider controls.

secondary_active_track_color

Overrides the default value of Slider.secondary_active_track_color in all descendant Slider controls.

track_height

Overrides the default value of Slider.track_height in all descendant Slider controls.

value_indicator_stroke_color

Overrides the default value of Slider.value_indicator_stroke_color in all descendant Slider controls.

interaction

Overrides the default value of Slider.interaction in all descendant Slider controls.