<p>Usually, there will be an Icon button added to appbar when you add a drawer to the scaffold.</p> <p>But when you have a custom appbar and you may need to add the button with on tap and below is the ontap code that helps you to open the Drawer.</p> <p>In my case, I added this button to an InkWell like below.</p> <p>Hope this helps.</p> <p>Thanks, Srikanth</p>
How to open drawer on button click in Flutter?
This Article is posted by seven.srikanth at 5/23/2020 7:33:14 PM
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?How to convert row of widgets into column of widgets in flutter based on screen size?
How to run Flutter programs from GitHub?
How to get screen orientation in flutter?
NavigationRail example in flutter
Tags:
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?How to convert row of widgets into column of widgets in flutter based on screen size?
How to run Flutter programs from GitHub?
How to get screen orientation in flutter?
NavigationRail example in flutter