📜  如果空间不可用行颤动,文本应该出现在下方 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:09.709000             🧑  作者: Mango

代码示例1
//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(),
    ],
),