单击按钮时,在无尽的ListView中显示更多数据-Flutter
当我单击“扑来”按钮时,如何在列表视图或网格视图中显示更多数据? (使用ListView无止境)我想做与下面的生命线游戏图像相同。 谢谢你! 生命线游戏
How to show more data in list view or grid view when I click a button in Flutter? (With listview is endless) I want to do the same as the Lifeline Game image below.
Thank you!
Lifeline Game
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建一个问题列表
使用listView.builder创建列表视图,
如果将项目添加到列表并设置状态,则将重新创建列表,
这将填充第四个问题作为最后一个项目。
Create a List of questions
Create a list view using a ListView.builder
If you add items to the list and set state the list will be recreated
This will populate the 4th question as the last item.