From 96fe8e61fc644d832d5df8f3a4f4ed5cc66409da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20M=C3=BCller?= Date: Tue, 5 Sep 2023 10:51:56 +0200 Subject: [PATCH] Fixed checkbox coloring --- .idea/libraries/Dart_Packages.xml | 344 ++++++++++++---------------- .idea/libraries/Flutter_Plugins.xml | 66 +++--- lib/theming/lightAppTheme.dart | 3 +- pubspec.yaml | 2 +- 4 files changed, 186 insertions(+), 229 deletions(-) diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 83c8afa..49ae69b 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -5,7 +5,7 @@ - @@ -19,14 +19,14 @@ - - @@ -47,14 +47,14 @@ - - @@ -82,7 +82,7 @@ - @@ -110,7 +110,7 @@ - @@ -131,21 +131,21 @@ - - - @@ -215,7 +215,7 @@ - @@ -243,7 +243,7 @@ - @@ -264,21 +264,21 @@ - - - @@ -313,14 +313,7 @@ - - - - - - - @@ -341,7 +334,7 @@ - @@ -355,35 +348,35 @@ - - - - - @@ -509,7 +502,7 @@ - @@ -544,21 +537,21 @@ - - - @@ -586,7 +579,7 @@ - @@ -607,14 +600,14 @@ - - @@ -649,56 +642,56 @@ - - - - - - - - @@ -709,13 +702,6 @@ - - - - - - @@ -747,28 +733,7 @@ - - - - - - - - - - - - - - - - - - - @@ -782,14 +747,14 @@ - - @@ -803,7 +768,7 @@ - @@ -845,7 +810,7 @@ - @@ -880,42 +845,42 @@ - - - - - - @@ -933,13 +898,6 @@ - - - - - - @@ -950,14 +908,14 @@ - - @@ -982,6 +940,13 @@ + + + + + + @@ -1034,49 +999,49 @@ - - - - - - - @@ -1111,14 +1076,14 @@ - - @@ -1132,14 +1097,14 @@ - - @@ -1293,56 +1258,56 @@ - - - - - - - - @@ -1391,21 +1356,21 @@ - - - @@ -1434,29 +1399,29 @@ - - - + + + - - + + - - + + - + - + - - - + + + @@ -1466,30 +1431,29 @@ - + - + - - - + + + - - + - - - - - + + + + + @@ -1505,46 +1469,42 @@ - + - - - + + + - + - - + + - - - - - - - - + + + + + + + + - - - - - + - - + + - + @@ -1554,21 +1514,21 @@ - - - - - - + + + + + + - - - + + + @@ -1576,21 +1536,21 @@ - - - - - - - + + + + + + + - - + + - - + + @@ -1612,23 +1572,23 @@ - - - - - - - - + + + + + + + + - - - + + + diff --git a/.idea/libraries/Flutter_Plugins.xml b/.idea/libraries/Flutter_Plugins.xml index 5cf28e4..7582baa 100644 --- a/.idea/libraries/Flutter_Plugins.xml +++ b/.idea/libraries/Flutter_Plugins.xml @@ -1,53 +1,51 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/theming/lightAppTheme.dart b/lib/theming/lightAppTheme.dart index de996fa..5d08920 100644 --- a/lib/theming/lightAppTheme.dart +++ b/lib/theming/lightAppTheme.dart @@ -35,8 +35,7 @@ class LightAppTheme { color: marianumRed, ), checkboxTheme: CheckboxThemeData( - fillColor: MaterialStateProperty.all(marianumRed), - // visualDensity: const VisualDensity(horizontal: VisualDensity.maximumDensity), + fillColor: MaterialStateProperty.resolveWith((states) => states.contains(MaterialState.selected) ? marianumRed : Colors.white), ), ); } \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index c17b259..095e772 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -56,7 +56,7 @@ dependencies: git: url: https://github.com/provokateurin/nextcloud-neon path: packages/nextcloud - #ref: 9a42bdb3a0ef1e3dbd62f746fb0fe75856be66a3 + ref: ba151505ab7f9d4c356345625482e2b61ce460cb flutter_launcher_icons: ^0.13.1 pretty_json: ^2.0.0 cached_network_image: ^3.2.3