MaterialSwitchData class

Constructors

MaterialSwitchData({Key widgetKey, bool value, ValueChanged<bool> onChanged, Color activeColor, DragStartBehavior dragStartBehavior, Color activeTrackColor, Color inactiveThumbColor, Color inactiveTrackColor, ImageProvider activeThumbImage, ImageProvider inactiveThumbImage, MaterialTapTargetSize materialTapTargetSize, Color focusColor, Color hoverColor, FocusNode focusNode, bool autofocus})

Properties

activeThumbImage ImageProvider
final
activeTrackColor Color
final
autofocus → bool
final
focusColor Color
final
focusNode FocusNode
final
hoverColor Color
final
inactiveThumbColor Color
final
inactiveThumbImage ImageProvider
final
inactiveTrackColor Color
final
materialTapTargetSize MaterialTapTargetSize
final
activeColor Color
final, inherited
dragStartBehavior DragStartBehavior
final, inherited
hashCode → int
The hash code for this object.
read-only, inherited
onChanged ValueChanged<bool>
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
value → bool
final, inherited
widgetKey Key
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited