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> {
});
},
),
const Text(
'Active'
Text(
"Enabled - ${_switchValue ? "On" : "Off"}"
),
],
),
......@@ -62,7 +62,7 @@ class _CupertinoSwitchDemoState extends State<CupertinoSwitchDemo> {
onChanged: null,
),
Text(
'Disabled'
'Disabled - On'
),
],
),
......@@ -76,7 +76,7 @@ class _CupertinoSwitchDemoState extends State<CupertinoSwitchDemo> {
onChanged: null,
),
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