Removed future builder
This commit is contained in:
@@ -197,10 +197,6 @@ class _CreateGameViewState extends State<CreateGameView> {
|
||||
setState(() {});
|
||||
},
|
||||
),
|
||||
FutureBuilder(
|
||||
future: _allPlayersFuture,
|
||||
builder:
|
||||
(BuildContext context, AsyncSnapshot<dynamic> snapshot) =>
|
||||
Expanded(
|
||||
child: PlayerSelection(
|
||||
key: ValueKey(selectedGroup?.id ?? 'no_group'),
|
||||
@@ -221,7 +217,6 @@ class _CreateGameViewState extends State<CreateGameView> {
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
CustomWidthButton(
|
||||
text: 'Create game',
|
||||
sizeRelativeToWidth: 0.95,
|
||||
|
||||
Reference in New Issue
Block a user