标签:gac icons doc font info 底部 child shape app
案例代码
floatingActionButton: Column(
mainAxisAlignment: MainAxisAlignment.end,
children: <Widget>[
Container(
margin: EdgeInsets.only(bottom: 1),
child: FloatingActionButton(
child: Icon(Icons.add),
onPressed: () {},
),
),
Container(
margin: EdgeInsets.only(bottom: 5),
child: Text(‘发布‘, style: TextStyle( color: Colors.grey, fontSize: 13),),
),
],
),
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
FloatingActionButton 实现类似 闲鱼 App 底部导航凸起按钮
标签:gac icons doc font info 底部 child shape app
原文地址:https://www.cnblogs.com/zhaofeis/p/12343503.html