Flutter
material
Switch
value property
value
description
value
property
Null safety
bool
value
final
Whether this switch is on or off.
This property must not be null.
Implementation
final bool value;
Flutter
material
Switch
value property
Switch class
Constructors
Switch
adaptive
Properties
activeColor
activeThumbImage
activeTrackColor
autofocus
dragStartBehavior
focusColor
focusNode
hashCode
hoverColor
inactiveThumbColor
inactiveThumbImage
inactiveTrackColor
key
materialTapTargetSize
mouseCursor
onActiveThumbImageError
onChanged
onInactiveThumbImageError
overlayColor
runtimeType
splashRadius
thumbColor
trackColor
value
Methods
build
createElement
debugDescribeChildren
debugFillProperties
noSuchMethod
toDiagnosticsNode
toString
toStringDeep
toStringShallow
toStringShort
Operators
operator ==