1
resposta

Exercício

Não deu para tirar print pois uso o celular para rodar o app, mas é só colocar na frente do "home: ". Tive a ideia de aplicar nomes de personagens de um anime que eu gosto muito. Espero que gostem mesmo assim :)

Antes de colar esse Scaffold depois do "home: ", é preciso apagar todas as linhas que estão abaixo de home. Isso é, até os parenteses, colchetes e chaves

Container(
        color: Colors.black,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly ,
          children: [
            Row(
              mainAxisAlignment: MainAxisAlignment.spaceAround,
              children: [
                Container(color: Colors.red, height: 100, width: 100, alignment: Alignment.center,child: Text('Luffy', style: TextStyle(color: Colors.black, fontSize: 20,)),),
                Container(color: Colors.orange, height: 100, width: 100,alignment: Alignment.center,child: Text('Nami', style: TextStyle(color: Colors.black, fontSize: 20,)),),
                Container(color: Colors.yellow, height: 100, width: 100,alignment: Alignment.center,child: Text('Sanji', style: TextStyle(color: Colors.black, fontSize: 20,)),),
              ],
            ),
            Row(
              mainAxisAlignment: MainAxisAlignment.spaceAround,
              children: [
                Container(color: Colors.green, height: 100, width: 100,alignment: Alignment.center,child: Text('Zoro', style: TextStyle(color: Colors.black, fontSize: 20,)),),
                Container(color: Colors.cyan, height: 100, width: 100,alignment: Alignment.center,child: Text('Franky', style: TextStyle(color: Colors.black, fontSize: 20,)),),
                Container(color: Colors.brown, height: 100, width: 100,alignment: Alignment.center,child: Text('Usopp', style: TextStyle(color: Colors.black, fontSize: 20,)),),
              ],
            ),
            Row(
              mainAxisAlignment: MainAxisAlignment.spaceAround,
              children: [
                Container(color: Colors.purple, height: 100, width: 100,alignment: Alignment.center,child: Text('Robin', style: TextStyle(color: Colors.black, fontSize: 20,)),),
                Container(color: Colors.pink, height: 100, width: 100,alignment: Alignment.center,child: Text('Chopper', style: TextStyle(color: Colors.black, fontSize: 20,)),),
                Container(color: Colors.white, height: 100, width: 100,alignment: Alignment.center,child: Text('Brook', style: TextStyle(color: Colors.black, fontSize: 20,)),),
              ],
            ),
            Row(
              mainAxisAlignment: MainAxisAlignment.spaceAround,
              children: [
                Container(color: Colors.blue, height: 100, width: 100, alignment: Alignment.center,child: Text('Luffy', style: TextStyle(color: Colors.black, fontSize: 20,)),),

              ],
            ),
          ],
        ),
      )
1 resposta

OTIMA IDEIA GABRIEL!!!

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