Changed red button text color to white

This commit is contained in:
Kenneth Bruen 2022-06-19 07:59:51 +03:00
parent c002e70616
commit 500dc297d3
Signed by: kbruen
GPG key ID: C1980A470C3EE5B1

View file

@ -98,6 +98,7 @@ class EditComponentPage extends HookWidget {
Navigator.of(context).pop(true);
},
style: ButtonStyle(
foregroundColor: MaterialStateProperty.all(Colors.white),
backgroundColor: MaterialStateProperty.all(Colors.red),
),
child: const Text('Discard'),
@ -193,6 +194,7 @@ class EditComponentPage extends HookWidget {
Navigator.of(context).pop(true);
},
style: ButtonStyle(
foregroundColor: MaterialStateProperty.all(Colors.white),
backgroundColor: MaterialStateProperty.all(Colors.red),
),
child: const Text('Remove'),
@ -285,6 +287,7 @@ class EditComponentPage extends HookWidget {
Navigator.of(context).pop(true);
},
style: ButtonStyle(
foregroundColor: MaterialStateProperty.all(Colors.white),
backgroundColor: MaterialStateProperty.all(Colors.red),
),
child: const Text('Remove'),