Removed future builder

This commit is contained in:
2025-12-10 13:56:03 +01:00
parent 93ced81e7e
commit e1626225ac

View File

@@ -197,10 +197,6 @@ class _CreateGameViewState extends State<CreateGameView> {
setState(() {}); setState(() {});
}, },
), ),
FutureBuilder(
future: _allPlayersFuture,
builder:
(BuildContext context, AsyncSnapshot<dynamic> snapshot) =>
Expanded( Expanded(
child: PlayerSelection( child: PlayerSelection(
key: ValueKey(selectedGroup?.id ?? 'no_group'), key: ValueKey(selectedGroup?.id ?? 'no_group'),
@@ -221,7 +217,6 @@ class _CreateGameViewState extends State<CreateGameView> {
}, },
), ),
), ),
),
CustomWidthButton( CustomWidthButton(
text: 'Create game', text: 'Create game',
sizeRelativeToWidth: 0.95, sizeRelativeToWidth: 0.95,