So I am currently working on an app and in the main menu there is a small profile picture on the top right side of the screen. I want to make that pfp clickable and when the user clicks on it, it should display a popup menu to show some extra things such as, view profile, settings, etc...
CodePudding user response:
you can use this for an AlertDialog:
await showDialog
Or this if you want it as a Bottom sheet :
await showModalBottomSheet...