joaopaulofcc

Untitled

Sep 9th, 2020
831
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.58 KB | None | 0 0
  1. import "package:flutter/material.dart";
  2.  
  3. void main() => runApp(MyApp());
  4.  
  5. class MyApp extends StatelessWidget {
  6.  
  7.   @override
  8.   Widget build(BuildContext context) {
  9.  
  10.     return MaterialApp(title : "Exemplo 1",
  11.       home : Scaffold(
  12.         body : Center(
  13.           child : Column(
  14.             mainAxisAlignment: MainAxisAlignment.center,
  15.             children : [
  16.               Text("Filho1"),
  17.               Divider(),
  18.               Text("Filho2"),
  19.               Divider(),
  20.               Text("Filho3")
  21.             ]
  22.           )
  23.         )
  24.       )
  25.     );
  26.   }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment