Created
July 24, 2018 04:53
-
-
Save blac3777/e3ad5279fd074f7e1fc9d9cd16cd1992 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
var app = MaterialApp( | |
home: new SafeArea( | |
left: false, | |
top: true, | |
right: false, | |
bottom: false, | |
child: new Scaffold( | |
endDrawer: new Drawer( | |
child: new Text("\n\n\nendDrawer is here"), | |
), | |
drawer: new Drawer( | |
child: new Text("\n\n\ndrawer is here"), | |
), | |
body: new Text("scaffold body"), | |
appBar: new AppBar( | |
centerTitle: true, | |
title: new Text("Title") | |
) | |
), | |
), | |
); | |
runApp(app); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment