SliderStyle class

Style configuration for a Slider behavior.

Constructors

SliderStyle({Color? fillColor, Point<double> handleOffset = const Point<double>(0, 0), Rectangle<int> handleSize = const Rectangle<int>(0, 0, 10, 20), Color? strokeColor, SliderHandlePosition handlePosition = SliderHandlePosition.middle, double strokeWidthPx = 2.0})

Properties

fillColor Color
Fill color of the handle of the slider.
getter/setter pair
handleOffset Point<double>
Allows users to specify both x-position and y-position offset values that determines where the slider handle will be rendered. The offset will be calculated relative to its default position at the vertical and horizontal center of the slider line.
getter/setter pair
handlePosition SliderHandlePosition
The vertical position for the slider handle.
getter/setter pair
handleSize Rectangle<int>
Specifies the size of the slider handle.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeColor Color
Stroke color of the slider line and hte slider handle
getter/setter pair
strokeWidthPx double
Stroke width of the slider line and the slider handle.
getter/setter pair

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.
override