用于保证同一个row里面widget高度一致
IntrinsicHeight(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Container(width: 50,color: Colors.green),
Container(height: 100,width: 50,color: Colors.red),
Container(width: 50,color: Colors.black)
],
),
);
效果:

网友评论