Changed var name

This commit is contained in:
2025-07-19 18:06:38 +02:00
parent a7521a3168
commit f17eac14b9
3 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ class CustomTheme {
static Color white = CupertinoColors.white;
static Color primaryColor = CupertinoColors.systemGreen;
static Color backgroundColor = const Color(0xFF101010);
static Color mainElementbackgroundColor = CupertinoColors.darkBackgroundGray;
static Color mainElementBackgroundColor = CupertinoColors.darkBackgroundGray;
static Color playerTileColor = CupertinoColors.secondaryLabel;
static Color buttonBackgroundColor = const Color(0xFF202020);

View File

@@ -118,7 +118,7 @@ class _RoundViewState extends State<RoundView> {
height: 60,
child: CupertinoSegmentedControl<int>(
unselectedColor:
CustomTheme.mainElementbackgroundColor,
CustomTheme.mainElementBackgroundColor,
selectedColor: CustomTheme.primaryColor,
groupValue: _caboPlayerIndex,
children: Map.fromEntries(widget.gameSession.players
@@ -261,7 +261,7 @@ class _RoundViewState extends State<RoundView> {
return Container(
height: 80,
padding: const EdgeInsets.only(bottom: 20),
color: CustomTheme.mainElementbackgroundColor,
color: CustomTheme.mainElementBackgroundColor,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [

View File

@@ -17,7 +17,7 @@ class _TabViewState extends State<TabView> {
Widget build(BuildContext context) {
return CupertinoTabScaffold(
tabBar: CupertinoTabBar(
backgroundColor: CustomTheme.mainElementbackgroundColor,
backgroundColor: CustomTheme.mainElementBackgroundColor,
iconSize: 27,
height: 55,
items: <BottomNavigationBarItem>[