CupertinoSwitchData class Null safety

Constructors

CupertinoSwitchData({Key? widgetKey, bool? value, void onChanged(bool)?, Color? activeColor, DragStartBehavior? dragStartBehavior, Color? trackColor})

Properties

activeColor Color?
final, inherited
dragStartBehavior DragStartBehavior?
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
onChanged → (void Function?(bool)?)
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
trackColor Color?
final
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
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited