Removed comments
This commit is contained in:
@@ -144,11 +144,9 @@ class _CreateGameViewState extends State<CreateGameView> {
|
|||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: ListView.builder(
|
child: ListView.builder(
|
||||||
itemCount: _playerNameTextControllers.length +
|
itemCount: _playerNameTextControllers.length + 1,
|
||||||
1, // +1 für den + Button
|
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
if (index == _playerNameTextControllers.length) {
|
if (index == _playerNameTextControllers.length) {
|
||||||
// + Button als letztes Element
|
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
||||||
child: CupertinoButton(
|
child: CupertinoButton(
|
||||||
|
|||||||
Reference in New Issue
Block a user