diff --git a/examples/api/lib/material/switch/switch.0.dart b/examples/api/lib/material/switch/switch.0.dart index cc7898bc0ea..50dfd71adae 100644 --- a/examples/api/lib/material/switch/switch.0.dart +++ b/examples/api/lib/material/switch/switch.0.dart @@ -37,7 +37,7 @@ class _SwitchExampleState extends State { return Switch( // This bool value toggles the switch. value: light, - activeColor: Colors.red, + activeThumbColor: Colors.red, onChanged: (bool value) { // This is called when the user toggles the switch. setState(() {