How to customize AppMenu(MenuBar) in flutter desktop?

3,002

The prototype menubar plugin provides limited ability to control the application menu.

Share:
3,002
Jatin Patel
Author by

Jatin Patel

i am mobile application developer. i have also knowledge about other programming languages as per describe on my skill area.

Updated on December 22, 2022

Comments

  • Jatin Patel
    Jatin Patel over 1 year

    I am new in the flutter and performing one task based on the requirement.

    I am creating one application that is run on all platforms like iOS, Android, Desktop(MacOS, Linux, Windows), and web also.

    Now the client wants to customize MenuBar and put some extra actions and set grouping of MenuItems.

    MenuBar Like as Below:

    enter image description here

    Is it possible to achieve this task through flutter?

  • Jatin Patel
    Jatin Patel almost 4 years
    There is no example for use it. can you provide me the way of implemetation plz?
  • smorgan
    smorgan almost 4 years
  • Mahesh Jamdade
    Mahesh Jamdade over 2 years
    Thank you so much for sharing the example. Is there a way to override the default menuItem? e.g There is Submenu "edit" by default, I would like to remove that or add a menuItem to that submenu.
  • smorgan
    smorgan over 2 years
    The menubar plugin doesn't provide any features related to existing menus, but you could certainly write a plugin that does what you are describing. If you just want to remove a menu though all you need to do is open the XIB in Xcode and delete it.