From 16fde3abe0d73e744f281ed66dcb9112aa1e1eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20M=C3=BCller?= Date: Wed, 7 Jun 2023 11:44:19 +0200 Subject: [PATCH] Set Checkbox color to fit design --- lib/theming/darkAppTheme.dart | 4 +++- lib/theming/lightAppTheme.dart | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/theming/darkAppTheme.dart b/lib/theming/darkAppTheme.dart index be3bf3e..d7bff6d 100644 --- a/lib/theming/darkAppTheme.dart +++ b/lib/theming/darkAppTheme.dart @@ -40,6 +40,8 @@ class DarkAppTheme { backgroundColor: MaterialStateProperty.all(Colors.white), ) ), - + checkboxTheme: CheckboxThemeData( + fillColor: MaterialStateProperty.all(marianumRed), + ), ); } \ No newline at end of file diff --git a/lib/theming/lightAppTheme.dart b/lib/theming/lightAppTheme.dart index 18831b6..de996fa 100644 --- a/lib/theming/lightAppTheme.dart +++ b/lib/theming/lightAppTheme.dart @@ -34,6 +34,9 @@ class LightAppTheme { progressIndicatorTheme: const ProgressIndicatorThemeData( color: marianumRed, ), - + checkboxTheme: CheckboxThemeData( + fillColor: MaterialStateProperty.all(marianumRed), + // visualDensity: const VisualDensity(horizontal: VisualDensity.maximumDensity), + ), ); } \ No newline at end of file