Skip to content

Instantly share code, notes, and snippets.

@blac3777
Created July 24, 2018 04:53
Show Gist options
  • Save blac3777/e3ad5279fd074f7e1fc9d9cd16cd1992 to your computer and use it in GitHub Desktop.
Save blac3777/e3ad5279fd074f7e1fc9d9cd16cd1992 to your computer and use it in GitHub Desktop.
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