BrowserContextMenu

Controls the browser's context menu on the web platform. On non-web platforms, this service has no effect.

By default, the browser's context menu is enabled when the Flet app starts.

Inherits from flet.Service.

#### Properties

  • **disabled** (bool): Property to check the status of the context menu.
  • #### Methods

  • **disable()** (async):
  • Disables the browser's context menu.

  • **enable()** (async):
  • Enables the browser's context menu.

    #### Platform Support

  • Web: Controls the browser context menu.
  • Non-web (Desktop, Mobile): No effect.