Answers for "flutter flex"

5

flutter flex

Row(
  children:[
    Expanded(
      flex: 9,
      child: Container(
              color: Colors.red,
              child: Text(
            'Flex 9'
          ),), //Replace with your child widget
          ),
    Expanded(
      flex: 3,
      child:  Container(
              color: Colors.red,
        child: Text(
            'Flex 3'
          ),
      ), //Replace with your child widget
      ),
  ],
)
Posted by: Guest on May-20-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language