Текст должен быть ниже, если пространство недоступно
//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(),
],
),
Stacking Titan