added missings consts
Some checks failed
Pull Request Pipeline / test (pull_request) Successful in 2m4s
Pull Request Pipeline / lint (pull_request) Failing after 2m8s

This commit is contained in:
2026-01-01 00:39:15 +01:00
parent ed9e3af768
commit 73aea0d0f5
8 changed files with 8 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ class _CreateGroupViewState extends State<CreateGroupView> {
scrolledUnderElevation: 0, scrolledUnderElevation: 0,
title: Text( title: Text(
AppLocalizations.of(context)!.create_new_group, AppLocalizations.of(context)!.create_new_group,
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), style: const TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
), ),
centerTitle: true, centerTitle: true,
), ),

View File

@@ -44,7 +44,7 @@ class _ChooseGameViewState extends State<ChooseGameView> {
), ),
title: Text( title: Text(
AppLocalizations.of(context)!.choose_game, AppLocalizations.of(context)!.choose_game,
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), style: const TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
), ),
centerTitle: true, centerTitle: true,
), ),

View File

@@ -53,7 +53,7 @@ class _ChooseGroupViewState extends State<ChooseGroupView> {
), ),
title: Text( title: Text(
AppLocalizations.of(context)!.choose_group, AppLocalizations.of(context)!.choose_group,
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), style: const TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
), ),
centerTitle: true, centerTitle: true,
), ),

View File

@@ -49,7 +49,7 @@ class _ChooseRulesetViewState extends State<ChooseRulesetView> {
), ),
title: Text( title: Text(
AppLocalizations.of(context)!.choose_ruleset, AppLocalizations.of(context)!.choose_ruleset,
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), style: const TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
), ),
centerTitle: true, centerTitle: true,
), ),

View File

@@ -120,7 +120,7 @@ class _CreateMatchViewState extends State<CreateMatchView> {
scrolledUnderElevation: 0, scrolledUnderElevation: 0,
title: Text( title: Text(
AppLocalizations.of(context)!.create_new_match, AppLocalizations.of(context)!.create_new_match,
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), style: const TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
), ),
centerTitle: true, centerTitle: true,
), ),

View File

@@ -82,7 +82,7 @@ class _MatchResultViewState extends State<MatchResultView> {
children: [ children: [
Text( Text(
AppLocalizations.of(context)!.select_winner, AppLocalizations.of(context)!.select_winner,
style: TextStyle( style: const TextStyle(
fontSize: 18, fontSize: 18,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),

View File

@@ -180,7 +180,7 @@ class _PlayerSelectionState extends State<PlayerSelection> {
const SizedBox(height: 10), const SizedBox(height: 10),
Text( Text(
AppLocalizations.of(context)!.all_players, AppLocalizations.of(context)!.all_players,
style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold), style: const TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
), ),
const SizedBox(height: 10), const SizedBox(height: 10),
/* /*

View File

@@ -116,7 +116,7 @@ class _GameHistoryTileState extends State<GameHistoryTile> {
if (allPlayers.isNotEmpty) ...[ if (allPlayers.isNotEmpty) ...[
Text( Text(
AppLocalizations.of(context)!.players, AppLocalizations.of(context)!.players,
style: TextStyle( style: const TextStyle(
fontSize: 13, fontSize: 13,
color: Colors.grey, color: Colors.grey,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,