⌂
›
Reference
›
CupertinoSlider
CupertinoSlider
CupertinoSlider control. Build it with the cupertino_slider helper.
Example
cupertino_slider(
value: "Sample",
min: 0,
max: 100,
divisions: 10,
on_change: ->(event) {}
)
Properties
active_color— Active color.divisions— Number of discrete steps between min and max.max— Maximum value.min— Minimum value.thumb_color— Thumb color.value— The control's current value.
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_animation_end— Fired when an animation completes.on_blur— Fired when the control loses focus.on_change— Fired when the value changes.on_change_end— Fired when the user finishes changing the value.on_change_start— Fired when the user starts changing the value.on_focus— Fired when the control gains focus.on_size_change— Fired when the control's size changes.
Reference
- Family:
cupertinos - Widget type:
cupertinoslider - Helper:
cupertino_slider