我在Ffltter应用程序中使用这个简单的小部件:
FlatButton(
child: Column(
children: <Widget>[
Image.asset(assets, height: 40, width: 40),
Text('Title'),
//my color line
Container(
height: 5,
width: ?,
color: Colors.blue[800],
)
],
)
)
我需要 colored颜色 线(钮扣),带宽度匹配的父线.但是我不知道怎么做.