thomazrb

Testes com Flutter

May 5th, 2023
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 1.46 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2.  
  3. void main() {
  4.   runApp(
  5.     MaterialApp(
  6.       debugShowCheckedModeBanner: false,
  7.       home: Scaffold(
  8.         body: Column(
  9.           mainAxisAlignment: MainAxisAlignment.spaceBetween,
  10.           children: [
  11.             Row(
  12.               mainAxisAlignment: MainAxisAlignment.spaceBetween,
  13.               children: [
  14.                 Container(
  15.                   width: 100,
  16.                   height: 100,
  17.                   color: Colors.red,
  18.                 ),
  19.                 Container(
  20.                   width: 100,
  21.                   height: 100,
  22.                   color: Colors.blue,
  23.                 )
  24.               ],
  25.             ),
  26.             Row(
  27.               mainAxisAlignment: MainAxisAlignment.center,
  28.               children: [
  29.                 Container(
  30.                   width: 100,
  31.                   height: 100,
  32.                   color: Colors.purple,
  33.                 ),
  34.               ],
  35.             ),
  36.             Row(
  37.               mainAxisAlignment: MainAxisAlignment.spaceBetween,
  38.               children: [
  39.                 Container(
  40.                   width: 100,
  41.                   height: 100,
  42.                   color: Colors.orange,
  43.                 ),
  44.                 Container(
  45.                   width: 100,
  46.                   height: 100,
  47.                   color: Colors.green,
  48.                 )
  49.               ],
  50.             ),
  51.           ],
  52.         ),
  53.       ),
  54.     ),
  55.   );
  56. }
  57.  
Tags: flutter
Add Comment
Please, Sign In to add comment