Implemented Theme class in every dart file

This commit is contained in:
Felix Kirchner
2025-04-30 13:57:54 +02:00
parent d49fec2b48
commit 1adbd16687
6 changed files with 49 additions and 47 deletions

View File

@@ -1,5 +1,5 @@
import 'package:cabo_counter/data/game_session.dart';
import 'package:cabo_counter/utility/theme.dart' as theme;
import 'package:cabo_counter/utility/theme.dart';
import 'package:cabo_counter/views/round_view.dart';
import 'package:flutter/cupertino.dart';
@@ -28,7 +28,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
'Spieler:innen',
style: theme.createGameTitle,
style: Theme.createGameTitle,
),
),
ListView.builder(
@@ -61,7 +61,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
'Runden',
style: theme.createGameTitle,
style: Theme.createGameTitle,
),
),
ListView.builder(