Fixed Cupertino Switch Demo (#27528)

This commit is contained in:
Kartik Sharma 2019-02-14 02:13:08 +05:30 committed by xster
parent 1196dbe94a
commit b4adafac08

View File

@ -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'
), ),
], ],
), ),