MatchSummaryTile durch MatchTile ersetzen #142

Merged
flixcoo merged 17 commits from enhancement/137-matchsummarytile-durch-matchtile-ersetzen into development 2026-01-10 15:05:43 +00:00
2 changed files with 19 additions and 16 deletions
Showing only changes of commit d22855fc1a - Show all commits

View File

@@ -78,22 +78,25 @@ class _MatchViewState extends State<MatchView> {
height: MediaQuery.paddingOf(context).bottom - 20, height: MediaQuery.paddingOf(context).bottom - 20,
); );
} }
return Padding( return Center(
padding: const EdgeInsets.only(bottom: 12.0), child: Padding(
child: MatchTile( padding: const EdgeInsets.only(bottom: 12.0),
onTap: () async { child: MatchTile(
Navigator.push( width: MediaQuery.sizeOf(context).width * 0.95,
context, onTap: () async {
CupertinoPageRoute( Navigator.push(
fullscreenDialog: true, context,
builder: (context) => MatchResultView( CupertinoPageRoute(
match: matches[index], fullscreenDialog: true,
onWinnerChanged: loadGames, builder: (context) => MatchResultView(
match: matches[index],
onWinnerChanged: loadGames,
),
), ),
), );
); },
}, match: matches[index],
match: matches[index], ),
), ),
); );
}, },

View File

@@ -1,7 +1,7 @@
name: game_tracker name: game_tracker
description: "Game Tracking App for Card Games" description: "Game Tracking App for Card Games"
publish_to: 'none' publish_to: 'none'
version: 0.0.2+57 version: 0.0.2+70
environment: environment:
sdk: ^3.8.1 sdk: ^3.8.1