![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Flutter
回眸乱了流年
再真挚的感情,再深沉的牵挂,还是会有分开的一天。。。
展开
-
如果某一个组件有多个父级ConstrainedBox限制,那么最终会是哪个生效?
ConstrainedBox( constraints: BoxConstraints(maxWidth: 20.0, maxHeight: 60.0), child: ConstrainedBox( constraints: BoxConstraints(maxWidth: 160.0, maxHeight: 160.0), child: Contain...原创 2020-03-19 17:44:03 · 278 阅读 · 0 评论 -
flutter — showModalBottomSheet的高度设置问题
// 弹出底部菜单列表模态对话框Future<int> _showModalBottomSheet() { return showModalBottomSheet<int>( context: context, isScrollControlled: true, //一:设为true,此时为全屏展示 builder: (BuildC...原创 2020-03-10 15:56:34 · 7553 阅读 · 1 评论