MaterialSwitchData class

Constructors

MaterialSwitchData({Key? widgetKey, bool? value, void onChanged(bool)?, Color? activeColor, DragStartBehavior? dragStartBehavior, Color? activeTrackColor, Color? inactiveThumbColor, Color? inactiveTrackColor, ImageProvider<Object>? activeThumbImage, ImageProvider<Object>? inactiveThumbImage, MaterialTapTargetSize? materialTapTargetSize, Color? focusColor, Color? hoverColor, FocusNode? focusNode, bool? autofocus, ImageErrorListener? onActiveThumbImageError, ImageErrorListener? onInactiveThumbImageError, MouseCursor? mouseCursor, MaterialStateProperty<Color?>? overlayColor, double? splashRadius, MaterialStateProperty<Color?>? thumbColor, MaterialStateProperty<Color?>? trackColor, ValueChanged<bool>? onFocusChange, MaterialStateProperty<Icon?>? thumbIcon})

Properties

activeColor Color?
finalinherited
activeThumbImage ImageProvider<Object>?
final
activeTrackColor Color?
final
autofocus bool?
final
dragStartBehavior DragStartBehavior?
finalinherited
focusColor Color?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
read-onlyinherited
hoverColor Color?
final
inactiveThumbColor Color?
final
inactiveThumbImage ImageProvider<Object>?
final
inactiveTrackColor Color?
final
materialTapTargetSize MaterialTapTargetSize?
final
mouseCursor MouseCursor?
final
onActiveThumbImageError ImageErrorListener?
final
onChanged → (void Function(bool)?)
finalinherited
onFocusChange ValueChanged<bool>?
final
onInactiveThumbImageError ImageErrorListener?
final
overlayColor MaterialStateProperty<Color?>?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
splashRadius double?
final
thumbColor MaterialStateProperty<Color?>?
final
thumbIcon MaterialStateProperty<Icon?>?
final
trackColor MaterialStateProperty<Color?>?
final
value bool?
finalinherited
widgetKey Key?
finalinherited

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