Quantcast
Channel: I am trying to open a drawer on the press of an icon, inside of a sticky header I have created in a flutter app - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Cabdirashiid for I am trying to open a drawer on the press of an...

Try using a global keyDeclare a scaffold state global key:final scaffoldKey = GlobalKey<ScaffoldState>();Assign it to a scaffold, must have a drawer set as well:...Scaffold( key: scaffoldKey,...

View Article



Image may be NSFW.
Clik here to view.

I am trying to open a drawer on the press of an icon, inside of a sticky...

So I created a sticky header that goes from page to page and I really like the design.I am trying to make the hamburger icon on the left open a drawer. Below is my class widget. I have tried:onpress:...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images