Fixed Cupertino Switch Demo (#27528)
This commit is contained in:
parent
1196dbe94a
commit
b4adafac08
@ -47,8 +47,8 @@ class _CupertinoSwitchDemoState extends State<CupertinoSwitchDemo> {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
const Text(
|
Text(
|
||||||
'Active'
|
"Enabled - ${_switchValue ? "On" : "Off"}"
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@ -62,7 +62,7 @@ class _CupertinoSwitchDemoState extends State<CupertinoSwitchDemo> {
|
|||||||
onChanged: null,
|
onChanged: null,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'Disabled'
|
'Disabled - On'
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@ -76,7 +76,7 @@ class _CupertinoSwitchDemoState extends State<CupertinoSwitchDemo> {
|
|||||||
onChanged: null,
|
onChanged: null,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'Disabled'
|
'Disabled - Off'
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user