flutter_json_widgets
widget
Switch
Switch.fromJson factory constructor
Switch.fromJson
Switch.fromJson
constructor
Null safety
Switch.fromJson
(
Map
<
String
,
dynamic
>
json
)
Implementation
factory Switch.fromJson(Map<String, dynamic> json) = _$Switch.fromJson;
flutter_json_widgets
widget
Switch
Switch.fromJson factory constructor
Switch class
Constructors
Switch
fromJson
Properties
activeColor
activeThumbImage
activeTrackColor
autofocus
copyWith
dragStartBehavior
field
focusColor
hashCode
hoverColor
inactiveThumbColor
inactiveThumbImage
inactiveTrackColor
key
materialTapTargetSize
mouseCursor
onFocusChange
overlayColor
runtimeType
splashRadius
thumbColor
trackColor
value
Methods
map
mapOrNull
maybeMap
maybeWhen
noSuchMethod
toJson
toString
when
whenOrNull
Operators
operator ==