Updated TextButtonTheme for dark theme

This commit is contained in:
2023-09-18 20:24:32 +02:00
parent e1ceaa4249
commit 132775e1bf
2 changed files with 7 additions and 1 deletions

View File

@ -43,5 +43,11 @@ class DarkAppTheme {
checkboxTheme: CheckboxThemeData(
fillColor: MaterialStateProperty.resolveWith((states) => states.contains(MaterialState.selected) ? marianumRed : Colors.transparent),
),
textButtonTheme: TextButtonThemeData(
style: TextButton.styleFrom(
foregroundColor: Colors.white,
backgroundColor: marianumRed.withOpacity(0.5),
),
),
);
}