Container(
padding: EdgeInsets.all(20.w),
margin: EdgeInsets.only(top: 20.w),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(10)
),
child: Row(
children: [
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(S.current.refundAmount,style: TextStyle(fontSize: 28.sp,fontWeight
flutter输入框宽度跟随文本长度变化
最新推荐文章于 2024-09-03 10:05:12 发布
该文描述了一个Flutter应用中的界面组件设计,包含一个白色的Container,内部有文字、间距、边框和圆角。Row中有一个Column显示退款信息,一个扩展的Container,以及一个右对齐的货币符号。此外,还展示了一个受约束的TextField,用于输入退款金额,限制为最小8到最大屏幕宽度的38%,并配置了输入格式和风格。

最低0.47元/天 解锁文章
2121

被折叠的 条评论
为什么被折叠?



