我对颤振是陌生的,我想将颤振布局创建为图像,请帮助。提前致谢。
试试这个:
Row(
mainAxisSize: MainAxisSize.min,
children: [
Container(
width: 150,
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(height: 40),
Text("UserName"),
SizedBox(height: 20),
Text("Password"),
RaisedButton(
color: Colors.grey,
onPressed: () {},
child: Text("OK"),
),
],
),
),
Column(
mainAxisSize: MainAxisSize.min,
children: [
Container(
width: 200,
child: TextFormField(),
),
Container(
width: 200,
child: TextFormField(),
),
RaisedButton(
color: Colors.grey,
onPressed: () {},
child: Text("Cancel"),
),
],
),
],
),
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句