SliderDecoration class

Used to Decorate the Slider Widget.

Constructors

SliderDecoration({Color inactiveColor = Colors.blueGrey, Color activeColor = Colors.blue, Color thumbColor = Colors.white, double borderRadius = 20.0, double height = 50.0, bool isThumbVisible = true, double thumbHeight = 25.0, double thumbWidth = 5.0})

Properties

activeColor Color
Defines the background color of the active part of the slider Default value Colors.blue
final
borderRadius double
Indicates the rounded border radius for the slider Default value 20.0
final
hashCode int
The hash code for this object.
no setterinherited
height double
Indicates the height of the slider Default value 50.0 The height is always bigger then the thumbHeight If not then the slider throw the error
final
inactiveColor Color
Defines the background color of the inactive part of the slider Default value Colors.blueGrey
final
isThumbVisible bool
Indicates that slider thumb is visible or not Default value true
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbColor Color
Defines the thumb color of the slider Default value Colors.white
final
thumbHeight double
Indicates the height of the slider thumb Default value 25.0 The thumbHeight is always smaller then the height If not then the slider throw the error
final
thumbWidth double
Indicates the width of the slider thumb Default value 5.0
final

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