SliderBehavior class abstract final

What Compose's Slider sets in code (behavior.yaml, verified at the pin).

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

interactedThumbDivisor → const double
A pressed, dragged or focused handle narrows to its width divided by this (ThumbContent; for a vertical slider, its height). (Slider.kt line 2493.)
keyboardContinuousSteps → const double
A continuous slider moves by the track range over this many steps per arrow key (1%); a stepped one moves one step (slideOnKeyEvents and the range slider's key handler). (Slider.kt line 841.)
keyboardMaxPageSteps → const double
The most key steps a Page Up / Page Down moves (as keyboardPageDivisor). (Slider.kt line 866.)
keyboardPageDivisor → const double
Page Up / Page Down move by (steps ÷ this) key steps, clamped to 1…keyboardMaxPageSteps. (Slider.kt line 866.)
trackInsideCornerSize → const Dp
The corner radius of a track segment's inside ends, where it meets the gap around the handle (SliderDefaults' TrackInsideCornerSize). (Slider.kt line 3088.)