text should come below if space not available row flutter

71

//wrap with expanded which text you want to come below if space not availabe in top row
Row(
	mainAxisAlignment: MainAxisAlignment.spaceBetween,
    children: [
    Expanded(
    child: Text(
	    mainProduct.name,
    	),
    ),
    secondWidget(),
    ],
),

Comments

Submit
0 Comments