How to open drawer on button click in Flutter?

This Article is posted by seven.srikanth at 5/23/2020 7:33:14 PM



<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>


Tags:








0 Comments
Login to comment.
Recent Comments