提交 1dca39d9 authored 作者: yueweilu's avatar yueweilu

我的笔记讨论错题收藏 布局问题

上级 8ce19665
...@@ -28,6 +28,8 @@ class BuildRead extends StatelessWidget { ...@@ -28,6 +28,8 @@ class BuildRead extends StatelessWidget {
// top: 10.w, // top: 10.w,
left: 0, left: 0,
right: 0, right: 0,
top: 0,
bottom: 0,
child: Container( child: Container(
padding: EdgeInsets.symmetric(vertical: 16.5.w,horizontal: 8), padding: EdgeInsets.symmetric(vertical: 16.5.w,horizontal: 8),
color: Colors.transparent, color: Colors.transparent,
...@@ -53,8 +55,9 @@ class BuildRead extends StatelessWidget { ...@@ -53,8 +55,9 @@ class BuildRead extends StatelessWidget {
if (onTap !=null) onTap!(model); if (onTap !=null) onTap!(model);
}, },
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Text(model.value,style: TextStyle(fontSize: 18.w,height: 1.6.w,fontWeight: Fonts.medium,color: Colours.c3),), Text(model.value,style: TextStyle(fontSize: 18.w,height: 1.w,fontWeight: Fonts.medium,color: Colours.c3),),
Text(model.name,style: TextStyle(fontSize: 13.w,height:1.6.w,color: Colours.c6)) Text(model.name,style: TextStyle(fontSize: 13.w,height:1.6.w,color: Colours.c6))
], ],
), ),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论