📜  RenderFlex 溢出 - Dart 代码示例

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

代码示例1
Just Wrap your Card, Text widget with Flexible Widget.
And also remember that an `Flexible` widget must be a descendant of a Row, 
Column, or Flex. i.e `Flexible` parent widget should be one of them.

Row(
  children: [
    Flexible(
      child: Text('text'),
    ),
  ],
),