[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-bekJuzpf-1635086456514)(https://ducafecat.tech/2021/10/25/translation/how-to-display-the-modal-bottom-sheet-programmatically-in-flutter/2021-10-24-22-22-54.png)]
原文
https://betterprogramming.pub/how-to-display-the-modal-bottom-sheet-programmatically-in-flutter-d1fad5fdd462
代码
https://github.com/macro6461/flutter_to_do
参考
- https://stackoverflow.com/questions/69471054/unable-to-reflect-updated-parent-state-in-showmodalbottomsheet
- https://stackoverflow.com/questions/69486752/trigger-floatingactionbutton-onpressed-without-pressing-the-button
- https://stackoverflow.com/users/1647098/eimmer
正文
如果你是从我以前的帖子来的,你看到我启动了我的待办事项应用程序,解决了我状态更新时不能用 showModalBottomSheet