row axis flutter code example
Example 1: size row to maximum flutter
IntrinsicHeight(
child: Row(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
Expanded(
child: Column(children: [
Container(height: 120.0, color: Colors.yellow),
Container(height: 100.0, color: Colors.cyan),
]),
),
Expanded(child: Container(color: Colors.amber)),
]),
Example 2: align column to center of flex flutter
mainAxisAlignment: MainAxisAlignment.center
crossAxisAlignment: CrossAxisAlignment.center
mainAxisAlignment: MainAxisAlignment.center
crossAxisAlignment: CrossAxisAlignment.center