Some miscellaneous changes found while making another PR (#111620)

This commit is contained in:
Greg Spencer
2022-09-20 14:03:02 -07:00
committed by GitHub
parent 4aea2f9933
commit ce7789e030
4 changed files with 12 additions and 10 deletions

View File

@@ -70,7 +70,7 @@ class _SwitchExampleState extends State<SwitchExample> {
value: light,
overlayColor: overlayColor,
trackColor: trackColor,
thumbColor: MaterialStateProperty.all<Color>(Colors.black),
thumbColor: const MaterialStatePropertyAll<Color>(Colors.black),
onChanged: (bool value) {
// This is called when the user toggles the switch.
setState(() {