SwitchConfig class

Constructors

SwitchConfig({double size = 30, Color? activeThumbColor, Color? inactiveThumbColor, Color? activeThumbStrokeColor, Color? inactiveThumbStrokeColor, Color? activeTrackColor, Color? inactiveTrackColor, Color? activeTrackStrokeColor, Color? inactiveTrackStrokeColor, dynamic activeThumbIcon, dynamic inactiveThumbIcon, Color? activeThumbIconTint, Color? inactiveThumbIconTint, double? activeThumbSpacing, double? inactiveThumbSpacing, double? activeThumbStrokeSize, double? inactiveThumbStrokeSize, double? thumbIconSpacing, int thumbWalkingTime = 200, double? trackBorderRadius, double? trackStrokeSize, double trackRatio = 1.65})
const

Properties

activeThumbColor Color?
final
activeThumbIcon → dynamic
final
activeThumbIconTint Color?
final
activeThumbSpacing double?
final
activeThumbStrokeColor Color?
final
activeThumbStrokeSize double?
final
activeTrackColor Color?
final
activeTrackStrokeColor Color?
final
hashCode int
The hash code for this object.
no setterinherited
inactiveThumbColor Color?
final
inactiveThumbIcon → dynamic
final
inactiveThumbIconTint Color?
final
inactiveThumbSpacing double?
final
inactiveThumbStrokeColor Color?
final
inactiveThumbStrokeSize double?
final
inactiveTrackColor Color?
final
inactiveTrackStrokeColor Color?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
final
thumbIconSpacing double?
final
thumbWalkingTime int
final
trackBorderRadius double?
final
trackRatio double
final
trackStrokeSize double?
final

Methods

copy({bool? enabled, bool? value, double? size, Color? activeThumbColor, Color? inactiveThumbColor, Color? activeThumbStrokeColor, Color? inactiveThumbStrokeColor, Color? activeTrackColor, Color? inactiveTrackColor, Color? activeTrackStrokeColor, Color? inactiveTrackStrokeColor, dynamic activeThumbIcon, dynamic inactiveThumbIcon, Color? activeThumbIconTint, Color? inactiveThumbIconTint, double? activeThumbSpacing, double? inactiveThumbSpacing, double? activeThumbStrokeSize, double? inactiveThumbStrokeSize, double? thumbIconSpacing, int? thumbWalkingTime, double? trackBorderRadius, double? trackStrokeSize, double? trackRatio}) SwitchConfig
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