fix: incorrect user of paraent data widget

This commit is contained in:
2026-05-22 14:44:16 +02:00
parent 6fb4a8996c
commit a0897d4966
3 changed files with 5 additions and 6 deletions

View File

@@ -59,9 +59,9 @@ class _CreateTeamsViewState extends State<CreateTeamsView> {
body: Stack( body: Stack(
alignment: Alignment.center, alignment: Alignment.center,
children: [ children: [
Expanded( Positioned.fill(
child: ListView.builder( child: ListView.builder(
padding: const EdgeInsets.only(top: 12, bottom: 12), padding: const EdgeInsets.only(top: 12, bottom: 96),
itemCount: teams.length, itemCount: teams.length,
itemBuilder: (context, index) { itemBuilder: (context, index) {
return TeamCreationTile( return TeamCreationTile(

View File

@@ -55,9 +55,9 @@ class _ManageMembersViewState extends State<ManageMembersView> {
body: Stack( body: Stack(
alignment: AlignmentDirectional.center, alignment: AlignmentDirectional.center,
children: [ children: [
Expanded( Positioned.fill(
child: ReorderableListView.builder( child: ReorderableListView.builder(
padding: const EdgeInsets.symmetric(vertical: 12), padding: const EdgeInsets.fromLTRB(0, 12, 0, 96),
buildDefaultDragHandles: false, buildDefaultDragHandles: false,
itemCount: allItemsCount, itemCount: allItemsCount,
onReorder: onReorder, onReorder: onReorder,
@@ -282,7 +282,6 @@ class _ManageMembersViewState extends State<ManageMembersView> {
void submitMatch() async { void submitMatch() async {
final match = widget.match; final match = widget.match;
print('teams: ${match.teams}');
await db.matchDao.addMatch(match: match); await db.matchDao.addMatch(match: match);
if (mounted) { if (mounted) {
Navigator.pushAndRemoveUntil( Navigator.pushAndRemoveUntil(

View File

@@ -1,7 +1,7 @@
name: tallee name: tallee
description: "Tracking App for Card Games" description: "Tracking App for Card Games"
publish_to: 'none' publish_to: 'none'
version: 0.0.30+332 version: 0.0.30+333
environment: environment:
sdk: ^3.8.1 sdk: ^3.8.1