Flutter popup menu 🤩
Hi guys, Today we are going to implement the flutter pop menu in our application.
Let’s start
STEP: 1) Import dependency
Import this into your pubspec file under the dependencies.
STEP: 2) Provide Context
In your build method Provide the context to the popup menu
STEP: 3) Popup menu creation
After this write a little bit code for the popup menu items.
STEP: 4) Calling Popup Menu
Okay so now, how we can call this popup in our event. Don’t worry it’s very simple.
GlobalKey keyBtn = GlobalKey();
After this pass this key to your widget.
Hurray..!!🎉🎉 we completed our all steps 👌👌
Hope you guys Like it, show some love guys, and do subscribe to my YouTube channel Thank You.