SliderTheme class

Theme for Slider.

Constructors

SliderTheme.new({double? trackHeight, Color? trackColor, Color? valueColor, Color? disabledTrackColor, Color? disabledValueColor, Color? thumbColor, Color? thumbBorderColor, Color? thumbFocusedBorderColor, double? thumbSize})
Creates a SliderTheme.
const

Properties

disabledTrackColor Color?
Color of the inactive track when disabled.
final
disabledValueColor Color?
Color of the active track when disabled.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbBorderColor Color?
Border color of the thumb.
final
thumbColor Color?
Background color of the thumb.
final
thumbFocusedBorderColor Color?
Border color of the thumb when focused.
final
thumbSize double?
Size of the thumb.
final
trackColor Color?
Color of the inactive track.
final
trackHeight double?
Height of the track.
final
valueColor Color?
Color of the active portion of the track.
final

Methods

copyWith({ValueGetter<double?>? trackHeight, ValueGetter<Color?>? trackColor, ValueGetter<Color?>? valueColor, ValueGetter<Color?>? disabledTrackColor, ValueGetter<Color?>? disabledValueColor, ValueGetter<Color?>? thumbColor, ValueGetter<Color?>? thumbBorderColor, ValueGetter<Color?>? thumbFocusedBorderColor, ValueGetter<double?>? thumbSize}) SliderTheme
Returns a copy of this theme with the given fields replaced.
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