Answers for "Flutter Layout Challenge London App brewery"

0

Flutter Layout Challenge London App brewery

MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.teal,
        body: SafeArea(
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: <Widget>[
            Container(
          height: double.infinity,
          width: 100.0,
          color: Colors.red,
        ),
            // your column widget here
        Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            // your yellow box here
            Container(
              height: 100,
              width: 100.0,
              color: Colors.yellow,
            ),
            // your green box here
             Container(
              height: 100,
              width: 100.0,
              color: Colors.green,
            ),
          ],
        ),
          Container(
          height: double.infinity,
          width: 100.0,
          color: Colors.blue,
        ),
          ],
        ),
        ),
      ), 
      debugShowCheckedModeBanner: false,     
    );
Posted by: Guest on October-16-2021

Browse Popular Code Answers by Language