MaterialSwitchData class

Constructors

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

Properties

activeColor Color?
finalinherited
activeThumbImage ImageProvider<Object>?
final
activeTrackColor Color?
final
autofocus bool?
finalinherited
dragStartBehavior DragStartBehavior?
finalinherited
focusColor Color?
final
focusNode FocusNode?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
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>?
finalinherited
onInactiveThumbImageError ImageErrorListener?
final
overlayColor MaterialStateProperty<Color?>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splashRadius double?
final
thumbColor MaterialStateProperty<Color?>?
final
thumbIcon MaterialStateProperty<Icon?>?
final
trackColor MaterialStateProperty<Color?>?
final
trackOutlineColor MaterialStateProperty<Color?>?
final
trackOutlineWidth MaterialStateProperty<double?>?
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