📜  灵活的小部件颤动 - 任何代码示例

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

代码示例1
Row(children:[
  Flexible(
  flex:5
    child: Container(color: Colors.red, child: Text('This is a very long text that won’t fit the line.'))),
  Flexible(
  flex:5
    child: Container(color: Colors.green, child: Text(‘Goodbye!’))),
  ]
)