CupertinoSwitchData class
Constructors
-
CupertinoSwitchData.new({Key? widgetKey, bool? value, void onChanged(bool)?, DragStartBehavior? dragStartBehavior, FocusNode? focusNode, bool? autofocus, ValueChanged<
bool> ? onFocusChange, WidgetStateProperty<Icon?> ? thumbIcon, WidgetStateProperty<Color?> ? trackOutlineColor, WidgetStateProperty<double?> ? trackOutlineWidth, ImageErrorListener? onActiveThumbImageError, ImageErrorListener? onInactiveThumbImageError, Color? activeTrackColor, Color? inactiveThumbColor, Color? inactiveTrackColor, ImageProvider<Object> ? activeThumbImage, ImageProvider<Object> ? inactiveThumbImage, Color? thumbColor, bool? applyTheme, Color? focusColor, Color? offLabelColor, Color? onLabelColor, WidgetStateProperty<MouseCursor> ? mouseCursor})
Properties
- activeColor → Color?
-
finalinherited
-
activeThumbImage
→ ImageProvider<
Object> ? -
finalinherited
- activeTrackColor → Color?
-
finalinherited
- applyTheme → bool?
-
final
- autofocus → bool?
-
finalinherited
- dragStartBehavior → DragStartBehavior?
-
finalinherited
- focusColor → Color?
-
final
- focusNode → FocusNode?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveThumbColor → Color?
-
finalinherited
-
inactiveThumbImage
→ ImageProvider<
Object> ? -
finalinherited
- inactiveTrackColor → Color?
-
finalinherited
-
mouseCursor
→ WidgetStateProperty<
MouseCursor> ? -
final
- offLabelColor → Color?
-
final
- onActiveThumbImageError → ImageErrorListener?
-
finalinherited
- onChanged → void Function(bool)?
-
finalinherited
-
onFocusChange
→ ValueChanged<
bool> ? -
finalinherited
- onInactiveThumbImageError → ImageErrorListener?
-
finalinherited
- onLabelColor → Color?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbColor → Color?
-
final
-
thumbIcon
→ WidgetStateProperty<
Icon?> ? -
finalinherited
-
trackOutlineColor
→ WidgetStateProperty<
Color?> ? -
finalinherited
-
trackOutlineWidth
→ WidgetStateProperty<
double?> ? -
finalinherited
- 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