diff --git a/src/content/get-started/fundamentals/user-input.md b/src/content/get-started/fundamentals/user-input.md index a9c49d5e9e6..4eec1fcaeaf 100644 --- a/src/content/get-started/fundamentals/user-input.md +++ b/src/content/get-started/fundamentals/user-input.md @@ -725,7 +725,7 @@ Widget build(BuildContext context) { 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(() {