解决:在row层中的text层加一个expend
flutter Row里面元素居中显示
new Expanded( flex: 5, child: new Row( children: <Widget>[ Expanded( child: new Container( alignment: Alignment.center, color: Colors.black38, child: new Text("這裡是logo"), )) ], )),
从这篇悟到的
解决:在row层中的text层加一个expendflutter Row里面元素居中显示new Expanded(flex: 5,child: new Row(children: <Widget>[...
解决:在row层中的text层加一个expend
new Expanded( flex: 5, child: new Row( children: <Widget>[ Expanded( child: new Container( alignment: Alignment.center, color: Colors.black38, child: new Text("這裡是logo"), )) ], )),
从这篇悟到的
转载于:https://www.cnblogs.com/zhujiabin/p/10273665.html
更多推荐
所有评论(0)