menuItemDefinitions property

Map<String, Map<String, dynamic>>? menuItemDefinitions
getter/setter pair

An object consisting of definitions for the menu items in the context menu. Each key value pair has a key that is referenced in the menuItems setting, and a value, which is an object with the following properties:

  • onclick: The click handler for the menu item

  • text: The text for the menu item

  • textKey: If internationalization is required, the key to a language string

Custom text for the "exitFullScreen" can be set only in lang options (it is not a separate button).

API Docs: https://api.highcharts.com/highcharts/exporting.menuItemDefinitions

Implementation

Map<String, Map<String, dynamic>>? menuItemDefinitions;