Flutter基础widgets教程-Drawer篇

1 Drawer
从Scaffold边缘水平滑动以显示应用程序中导航链接的Material Design面板。
2 构造函数
Drawer({
Key key,
this.elevation = 16.0,
this.child,
this.semanticLabel,
})
3 常用属性
3.1 elevation:墨纸设计中组件的z坐标顺序
elevation:16.0,
3.2 child:子控件
child:Text(
'Hello Flutter'
),
本文来自「青年码农」公众号,作者:青年码农,转载请注明原文链接:https://www.cnblogs.com/nmgwap/p/16331679.html

浙公网安备 33010602011771号