【发布时间】:2019-07-03 03:47:17
【问题描述】:
我需要创建以下内容:
我可以用代码做到这一点:
Row(
children: <Widget>[
Container(
width: 30
),
Column(
children: <Widget>[
Text("label"),
Container(
width: screenSize.width - 30, // <- this is problem
child: Row(
children: <Widget>[
Expanded( child: TextField() ),
Expanded( child: TextField() ),
],
),
),
],
),
],
);
是否有可能以不同的方式进行,即width: screenSize.width - 30这一行?
【问题讨论】: