```
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'demo',
theme: ThemeData(
primarySwatch: Colors.teal,
),
home: Scaffold(
appBar: AppBar(title: Text('demo title'),centerTitle: true,),
body: //how can I add navigation drawer and Silver AppBar,
),
);
}
}
````
This code indicates to the homepage of my flutter app
I want to add a navigation drawer and sliverAppBar to the home page of this app
But I don't know how to do this? 4.Please help me. How can I add navigation drawer in the above code [homepage of app]
Is there any easier way to add a navigation drawer to flutter [beginner level]