Expand description
Default SliderStyle impl driven by paint-recipe data.
RecipeSliderStyle ships the IntUI look out of the box. The visual
body is a tiny private leaf widget (SliderBody) that paints
track + fill + thumb + focus ring directly on the canvas. Same
“leaf body” choice as RecipeToggleStyle and for the same reason —
there’s no general-purpose absolute-positioning primitive for the
thumb on the track, and the compositional version would add several
arena nodes per slider for no visual win.
Custom SliderStyle impls are free to compose RectWidget layers
and a positioned thumb if they prefer.
Structs§
- Recipe
Slider Style - Default
SliderStyleshipped with Teksilo. Colors come fromtheme.colors.{accent, surface_sunken, ...}. - Slider
Recipe - Dimension data for
RecipeSliderStyle. All fields are in dp.