Some miscellaneous changes found while making another PR (#111620)
This commit is contained in:
@@ -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(() {
|
||||
|
||||
Reference in New Issue
Block a user