TextField(
decoration: InputDecoration(
contentPadding: EdgeInsets.only(top: 2.0, bottom: 6.0),//设置文字内容与边框距离
enabledBorder: UnderlineInputBorder(
borderSide: BorderSide(
width: 1,
color: Color(0xffD5D5D5),
style: BorderStyle.solid)),
),
),
Flutter 文字与边框(下划线)距离
猜你喜欢
转载自blog.csdn.net/qq_31841675/article/details/102783383
今日推荐
周排行