ThumbConfig class

Configuration for the thumb of the slider.

Constructors

ThumbConfig.new({Color color = Colors.blue, double width = 20.0, double height = 20.0, double radius = 10.0, BoxShape shape = BoxShape.circle, double elevation = 1.0, Color shadowColor = Colors.black26})
Creates a thumb configuration.
const

Properties

color Color
Color of the thumb.
final
elevation double
Elevation of the thumb.
final
hashCode int
The hash code for this object.
no setterinherited
height double
Height of the thumb.
final
radius double
Radius of the thumb's corners. Only applicable for rectangle shape.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color
Shadow color of the thumb.
final
shape BoxShape
Shape of the thumb.
final
width double
Width of the thumb.
final

Methods

copyWith({Color? color, double? width, double? height, double? radius, BoxShape? shape, double? elevation, Color? shadowColor}) ThumbConfig
Creates a copy of this configuration 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.
inherited