diff --git a/examples/flutter_gallery/lib/demo/cupertino/cupertino_switch_demo.dart b/examples/flutter_gallery/lib/demo/cupertino/cupertino_switch_demo.dart index aee5d1f2fb..2e5b6d9a7f 100644 --- a/examples/flutter_gallery/lib/demo/cupertino/cupertino_switch_demo.dart +++ b/examples/flutter_gallery/lib/demo/cupertino/cupertino_switch_demo.dart @@ -47,8 +47,8 @@ class _CupertinoSwitchDemoState extends State { }); }, ), - const Text( - 'Active' + Text( + "Enabled - ${_switchValue ? "On" : "Off"}" ), ], ), @@ -62,7 +62,7 @@ class _CupertinoSwitchDemoState extends State { onChanged: null, ), Text( - 'Disabled' + 'Disabled - On' ), ], ), @@ -76,7 +76,7 @@ class _CupertinoSwitchDemoState extends State { onChanged: null, ), Text( - 'Disabled' + 'Disabled - Off' ), ], ),