updated: navigation_drawer example with code refactoring

This commit is contained in:
Nishant Srivastava
2018-01-19 04:00:59 +05:30
parent 698ac566ff
commit f257e0898d
5 changed files with 120 additions and 46 deletions

View File

@ -0,0 +1,18 @@
import 'package:flutter/material.dart';
class AccountScreen extends StatelessWidget {
static String routeName = "/account";
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text("Account"),
),
body: new Container(
child: new Center(
child: new Text("Account Screen"),
)),
);
}
}