赞
踩
showModalBottomSheet( // 让底部弹框占满几乎整个屏幕的高度 isScrollControlled: true, context: context, builder: (BuildContext context){ return Container( height: MediaQuery.of(context).size.height * 0.9, width: double.infinity, child: Column( children: [ Text("更换手机号") ], ), ); } );
主要是设置isScrollControlled: true就好了,不然只能显示屏幕的一半
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。