Answers for "flexible widget flutter"

1

flexible widget flutter

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!’))),
  ]
)
Posted by: Guest on December-07-2020

Browse Popular Code Answers by Language