TrackConfig class

Configuration for the track of the slider.

Constructors

TrackConfig.new({Color activeColor = Colors.blue, Color inactiveColor = Colors.grey, double height = 6.0, double? width, double radius = 3.0})
Creates a track configuration.
const

Properties

activeColor Color
Color of the active part of the track.
final
hashCode int
The hash code for this object.
no setterinherited
height double
Height of the track.
final
inactiveColor Color
Color of the inactive part of the track.
final
radius double
Radius of the track's corners.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double?
Width of the track. If null, it will take the available width.
final

Methods

copyWith({Color? activeColor, Color? inactiveColor, double? height, double? width, double? radius}) TrackConfig
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