mirror of
https://github.com/dancojocaru2000/logic-circuits-simulator.git
synced 2025-02-22 17:19:36 +02:00
Changed red button text color to white
This commit is contained in:
parent
c002e70616
commit
500dc297d3
1 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,7 @@ class EditComponentPage extends HookWidget {
|
||||||
Navigator.of(context).pop(true);
|
Navigator.of(context).pop(true);
|
||||||
},
|
},
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
|
foregroundColor: MaterialStateProperty.all(Colors.white),
|
||||||
backgroundColor: MaterialStateProperty.all(Colors.red),
|
backgroundColor: MaterialStateProperty.all(Colors.red),
|
||||||
),
|
),
|
||||||
child: const Text('Discard'),
|
child: const Text('Discard'),
|
||||||
|
@ -193,6 +194,7 @@ class EditComponentPage extends HookWidget {
|
||||||
Navigator.of(context).pop(true);
|
Navigator.of(context).pop(true);
|
||||||
},
|
},
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
|
foregroundColor: MaterialStateProperty.all(Colors.white),
|
||||||
backgroundColor: MaterialStateProperty.all(Colors.red),
|
backgroundColor: MaterialStateProperty.all(Colors.red),
|
||||||
),
|
),
|
||||||
child: const Text('Remove'),
|
child: const Text('Remove'),
|
||||||
|
@ -285,6 +287,7 @@ class EditComponentPage extends HookWidget {
|
||||||
Navigator.of(context).pop(true);
|
Navigator.of(context).pop(true);
|
||||||
},
|
},
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
|
foregroundColor: MaterialStateProperty.all(Colors.white),
|
||||||
backgroundColor: MaterialStateProperty.all(Colors.red),
|
backgroundColor: MaterialStateProperty.all(Colors.red),
|
||||||
),
|
),
|
||||||
child: const Text('Remove'),
|
child: const Text('Remove'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue