updated nav drawer
This commit is contained in:
parent
424001f6e1
commit
a6f4071b92
1 changed files with 6 additions and 11 deletions
|
@ -14,19 +14,14 @@ class NavDrawer extends StatelessWidget {
|
||||||
child: ListView(
|
child: ListView(
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
const DrawerHeader(
|
DrawerHeader(
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: Theme.of(context).primaryColor,
|
||||||
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
"Pizza Planner",
|
"Pizza Planner",
|
||||||
style: TextStyle(color: Colors.black, fontSize: 30)
|
style: Theme.of(context).textTheme.headline3
|
||||||
),
|
)),
|
||||||
/*decoration: BoxDecoration(
|
|
||||||
color: Colors.redAccent,
|
|
||||||
image: DecorationImage(
|
|
||||||
fit: BoxFit.fill,
|
|
||||||
image: AssetImage()
|
|
||||||
)
|
|
||||||
),*/
|
|
||||||
),
|
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: const Icon(FontAwesome5.calendar_alt),
|
leading: const Icon(FontAwesome5.calendar_alt),
|
||||||
title: const Text("Events"),
|
title: const Text("Events"),
|
||||||
|
|
Loading…
Add table
Reference in a new issue