1
resposta

Minha Tela | Aula 7 : Faça como eu fiz

import 'package:flutter/material.dart';

class Aula7_faca_como_eu_fiz extends StatelessWidget {
  const Aula7_faca_como_eu_fiz({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Column(
        mainAxisAlignment: MainAxisAlignment.spaceEvenly,
        children: <Widget>[
          Row(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            children: [
              Container(
                color: Colors.purpleAccent, width: 90, height: 90,
              ),
              Container(
                color: Colors.pinkAccent, width: 90, height: 90,
              ),
              Container(
                color: Colors.white, width: 90, height: 90,
              ),

            ],
          ),
          Row(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            children: [
              Container(
                color: Colors.green, width: 90, height: 90,
              ),
              Container(
                color: Colors.cyanAccent, width: 90, height: 90,
              ),
              Container(
                color: Colors.cyan, width: 90, height: 90,
              ),

            ],
          ),
          Row(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            children: [
              Container(
                color: Colors.red, width: 90, height: 90,
              ),
              Container(
                color: Colors.amber, width: 90, height: 90,
              ),
              Container(
                color: Colors.yellow, width: 90, height: 90,
              ),

            ],
          ),
        ],
      ),
    );
  }
}

aula7_faca_como_eu_fiz_tela

1 resposta

Ficou idêntico! Muito show

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software