TextField(
decoration: InputDecoration(
//取消奇怪的高度
isCollapsed: true,
//可以设置自己的
contentPadding: EdgeInsets.all(8),
),
);
Flutter TextField 取消默认高度
猜你喜欢
转载自blog.csdn.net/weixin_41735943/article/details/118031552
今日推荐
周排行