【发布时间】:2021-07-12 11:59:18
【问题描述】:
【问题讨论】:
标签: flutter material-ui textfield
【问题讨论】:
标签: flutter material-ui textfield
你可以使用stack来实现UI
Stack(
children: [
TextFormField(
...apply the border here
),
Positioned(
left: 16.0,
top: 5.0,
child: Container(
padding: EdgeInsets.all(5.0),
color: AppColors.whiteColor,
child: Row(
children: [
Image.asset(your_image),
Text("Name")
],
),
),
),
],
);
【讨论】: