Flutter Navigation Drawer Example
main.dart ========= import 'package:flutter/material.dart' ; import 'package:akeepo/navdrawer.dart' ; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @ override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter' , debugShowCheckedModeBanner: false , theme: ThemeData( primarySwatch: Colors.blue, ), home: NavDrawer(), ); } } navdrawer.dart ================ import 'package:flutter/material.dart' ; class NavDrawer extends StatefulWidget { @ override _NavDrawerState createState() => _NavDrawerState(); } class _NavDrawerState extends State < NavDrawer > { @ override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text( "Nav Drawer" )), drawer: new Drawer( child: new ListView( children: <