MaterialSwitchData class

Constructors

MaterialSwitchData({Key widgetKey, bool value, ValueChanged<bool> onChanged, 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})

Properties

activeColor → Color
final, inherited
activeThumbImage → ImageProvider<Object>
final
activeTrackColor → Color
final
autofocus → bool
final
dragStartBehavior → DragStartBehavior
final, inherited
focusColor → Color
final
focusNode → FocusNode
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
hoverColor → Color
final
inactiveThumbColor → Color
final
inactiveThumbImage → ImageProvider<Object>
final
inactiveTrackColor → Color
final
materialTapTargetSize → MaterialTapTargetSize
final
mouseCursor → MouseCursor
final
onActiveThumbImageError → ImageErrorListener
final
onChanged → ValueChanged<bool>
final, inherited
onInactiveThumbImageError → ImageErrorListener
final
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 ==(Object other) → bool
The equality operator. [...]
inherited