Browse Source

Changed red button text color to white

master
Kenneth Bruen 2 years ago
parent
commit
500dc297d3
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 3
      lib/pages/edit_component.dart

3
lib/pages/edit_component.dart

@ -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'),

Loading…
Cancel
Save