【发布时间】:2020-08-28 13:53:02
【问题描述】:
我刚刚开始使用颤振,不知道我应该如何在这 2 个 FloatingActionButton 之间留出空隙
Widget abcde = Container(
child: Row(
children: <Widget>[
Expanded(
child: Container(
margin: EdgeInsets.symmetric(horizontal: 20.0),
child: Row(
children: <Widget>[
FloatingActionButton(
backgroundColor: Colors.blue,
onPressed: (){},
child: Icon(Icons.call)),
FloatingActionButton(
backgroundColor: Colors.blue,
onPressed: (){},
child: Icon(Icons.call)),
],
),
)
),
],
),
);
【问题讨论】:
-
这能回答你的问题吗? Space between Column's children in Flutter