在使用showSheet底部弹窗的时候,可以通过一下设置让bottomSheet自适应内容高度 showSheet(context, Column( mainAxisSize: MainAxisSize.min, scrollControlled: true, children: Container(), ));
评论区