flutter flex example
Example: flutter flex
Row(
children:[
Expanded(
flex: 9,
child: Container(
color: Colors.red,
child: Text(
'Flex 9'
),), //Replace with your child widget
),
Expanded(
flex: 3,
child: Container(
color: Colors.red,
child: Text(
'Flex 3'
),
), //Replace with your child widget
),
],
)