Commit b4adafac authored by Kartik Sharma's avatar Kartik Sharma Committed by xster

Fixed Cupertino Switch Demo (#27528)

parent 1196dbe9
...@@ -47,8 +47,8 @@ class _CupertinoSwitchDemoState extends State<CupertinoSwitchDemo> { ...@@ -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> { ...@@ -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> { ...@@ -76,7 +76,7 @@ class _CupertinoSwitchDemoState extends State<CupertinoSwitchDemo> {
onChanged: null, onChanged: null,
), ),
Text( Text(
'Disabled' 'Disabled - Off'
), ),
], ],
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment