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 StatefulWidget {
- @override
- State<StatefulWidget> createState() => MyAppState();
- }
- class MyAppState extends State<MyApp> {
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- theme: ThemeData(
- // Define the default Brightness and Colors
- brightness: Brightness.dark,
- primaryColor: Colors.lightBlue[800],
- accentColor: Colors.cyan[600],
- )
- , home: SafeArea(
- child: Scaffold(
- drawer: new Drawer(
- child: new ListView(
- ) ,
- ),
- body: new Center(
- child: new Column(
- children: <Widget>[
- ],
- ))),
- )
- );
- }
- }
Add Comment
Please, Sign In to add comment