Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

this project was writed with pure dart code,which means it’s support both ios and android popup menu

screenshot

popup_menu

how to use

you can find the demo at the ‘example’ folder.

first, you should set the context at somewhere in you code. like below:

popupmenu.context = context;
popupmenu menu = popupmenu(
      items: [
        menuitem(title: 'copy', image: image.asset('assets/copy.png')), 
        menuitem(title: 'home', image: icon(icons.home, color: colors.white,)), 
        menuitem(title: 'mail', image: icon(icons.mail, color: colors.white,)), 
        menuitem(title: 'power', image: icon(icons.power, color: colors.white,)),
        menuitem(title: 'setting', image: icon(icons.settings, color: colors.white,)), 
        menuitem(title: 'traffic', image: icon(icons.traffic, color: colors.white,))], 
      onclickmenu: onclickmenu, 
      ondismiss: ondismiss);

menu.show(rect: rect);

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.