diff --git a/lib/pages/edit_component.dart b/lib/pages/edit_component.dart index c09f5ce..204c368 100644 --- a/lib/pages/edit_component.dart +++ b/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'),