WIP: Bearbeiten und Löschen von Matches #171

Draft
flixcoo wants to merge 35 commits from feature/120-bearbeiten-und-loeschen-von-matches into development
2 changed files with 11 additions and 10 deletions
Showing only changes of commit e71943f6e2 - Show all commits

View File

@@ -40,14 +40,19 @@ class GameTracker extends StatelessWidget {
primaryColor: CustomTheme.primaryColor, primaryColor: CustomTheme.primaryColor,
scaffoldBackgroundColor: CustomTheme.backgroundColor, scaffoldBackgroundColor: CustomTheme.backgroundColor,
appBarTheme: CustomTheme.appBarTheme, appBarTheme: CustomTheme.appBarTheme,
colorScheme: const ColorScheme( radioTheme: RadioThemeData(
fillColor: WidgetStateProperty.resolveWith<Color>((states) {
if (states.contains(WidgetState.selected)) {
return CustomTheme.primaryColor;
}
return CustomTheme.textColor;
}),
),
colorScheme: ColorScheme.fromSeed(
seedColor: CustomTheme.primaryColor,
brightness: Brightness.dark, brightness: Brightness.dark,
primary: CustomTheme.primaryColor, primary: CustomTheme.primaryColor,
onPrimary: CustomTheme.textColor, onPrimary: CustomTheme.textColor,
secondary: CustomTheme.textColor,
onSecondary: Color(0xFF000000),
error: Color(0xFFFF0000),
onError: CustomTheme.textColor,
surface: CustomTheme.backgroundColor, surface: CustomTheme.backgroundColor,
onSurface: CustomTheme.textColor, onSurface: CustomTheme.textColor,
), ),

View File

@@ -36,11 +36,7 @@ class CustomRadioListTile<T> extends StatelessWidget {
), ),
child: Row( child: Row(
children: [ children: [
Radio<T>( Radio<T>(value: value, toggleable: true),
value: value,
activeColor: CustomTheme.primaryColor,
toggleable: true,
),
Expanded( Expanded(
child: Text( child: Text(
text, text,