use a Drawercontext to be able to have a specific scaffold for each page

This commit is contained in:
2022-08-29 17:16:51 +02:00
parent 9867b913f4
commit 01049d9381
11 changed files with 255 additions and 198 deletions

View File

@ -14,10 +14,7 @@ class TagTile extends StatelessWidget {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => Scaffold(
appBar: AppBar(title: Text(tag.tagName)),
body: VideoFeed(tag: tag),
),
builder: (context) => VideoFeed(tag: tag),
),
);
},