Changed red button text color to white

This commit is contained in:
Kenneth Bruen 2022-07-03 05:18:02 +03:00
parent c2d5d86554
commit 95ef25214a
Signed by: kbruen
GPG key ID: C1980A470C3EE5B1

View file

@ -45,6 +45,7 @@ class ProjectsPage extends StatelessWidget {
Navigator.of(context).pop(); Navigator.of(context).pop();
}, },
style: ButtonStyle( style: ButtonStyle(
foregroundColor: MaterialStateProperty.all(Colors.white),
backgroundColor: MaterialStateProperty.all(Colors.red), backgroundColor: MaterialStateProperty.all(Colors.red),
), ),
child: const Text('Delete'), child: const Text('Delete'),