Advertisement
joaopaulofcc

Untitled

Sep 9th, 2020
1,250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.61 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 com Cards",
  11.       home : Scaffold(
  12.         body : Center(
  13.           child : Card(
  14.             child : Column(mainAxisSize: MainAxisSize.min,
  15.               children : [
  16.                 Text("Filho1"),
  17.                 Divider(),
  18.                 Text("Filho2"),
  19.                 Divider(),
  20.                 Text("Filho3")
  21.               ]
  22.             )
  23.           )
  24.         )
  25.       )
  26.     );
  27.   }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement