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 white = CupertinoColors.white;
static Color primaryColor = CupertinoColors.systemGreen; static Color primaryColor = CupertinoColors.systemGreen;
static Color backgroundColor = const Color(0xFF101010); static Color backgroundColor = const Color(0xFF101010);
static Color mainElementbackgroundColor = CupertinoColors.darkBackgroundGray; static Color mainElementBackgroundColor = CupertinoColors.darkBackgroundGray;
static Color playerTileColor = CupertinoColors.secondaryLabel; static Color playerTileColor = CupertinoColors.secondaryLabel;
static Color buttonBackgroundColor = const Color(0xFF202020); static Color buttonBackgroundColor = const Color(0xFF202020);

View File

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

View File

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