Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import "package:flutter/material.dart";
- void main() => runApp(MyApp());
- class MyApp extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return MaterialApp(title : "Exemplo Drawer",
- home : Scaffold(
- appBar : AppBar(
- title : Text("Exemplo - Drawer!")
- ),
- drawer : Drawer(
- child : Column(
- children : [
- Text("Item 1"),
- Divider(),
- Text("Item 2"),
- Divider(),
- Text("Item 3")
- ]
- )
- ),
- body : Center(
- child : Row(
- children : [
- Text("Filho1"),
- Text("Filho2"),
- Text("Filho3")
- ]
- )
- )
- )
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement