Closed
Description
From Step 4 - 'Add the backdrop menu' -
// TODO: Change home: to a Backdrop with a HomePage frontLayer (104)
home: Backdrop(
// TODO: Make currentCategory field take _currentCategory (104)
currentCategory: Category.all,
// TODO: Pass _currentCategory for frontLayer (104)
frontLayer: HomePage(),
// TODO: Change backLayer field value to CategoryMenuPage (104)
backLayer: Container(color: kShrinePink100),
frontTitle: Text('SHRINE'),
backTitle: Text('MENU'),
),
should read
// TODO: Change home: to a Backdrop with a HomePage frontLayer (104)
home: Backdrop(
// TODO: Make currentCategory field take _currentCategory (104)
currentCategory: Category.all,
// TODO: Pass _currentCategory for frontLayer (104)
frontLayer: HomePage(),
// TODO: Change backLayer field value to CategoryMenuPage (104)
backLayer: Container(color: kShrineBackgroundWhite),
frontTitle: Text('SHRINE'),
backTitle: Text('MENU'),
),
(e.g. change kShrinePink100 to kShrineBackgroundWhite)
so as to match the screenshot the directly follows the step.
Thanks folks !
Metadata
Metadata
Assignees
Labels
No labels