我正在设计一张卡片的样式,里面有这些多个图标元素和文字.我在安排行和列以解决此问题时遇到问题;
这就是我想要实现的;
这是我给我问题的那一行的代码;
Row(
children: [
ClipRect(
child: Container(
height: 11,
width: 11,
child: Image.asset('assets/info.png'),
),
),
Container(
height: 48,
child: Column(
children: [
Text(
"Now that you've finished a plan, it's essential to measure your growth. We've included assessments and activities to do just that.",
style: GoogleFonts.poppins(
textStyle: TextStyle(
color: Color(0x80484848),
fontWeight: FontWeight.w400,
fontSize: 8,
),
),
),
],
),
),
],
),
我认为如果文本适合列,那么它总是正确对齐的.我希望溢出的文本转到下一行.