这是我在屏幕上的内容:
https://i.imgur.com/oSblgWD.png
如何对齐姓氏,使其在名字下?我不想在姓氏旁边放一个图标,只是名字。
这是我的代码。谢谢。
body: Center(
child: Form(
key: _formKey,
child: Column(
children: <Widget>[
ListTile(
leading: const Icon(Icons.person),
title: new TextField(
decoration: new InputDecoration(
hintText: "First name",
),
),
),
ListTile(
title: new TextField(
decoration: new InputDecoration(
hintText: "Last name",
),
),
),
],
),
)
)