desktop_context_menu_platform_interface 0.1.1
desktop_context_menu_platform_interface: ^0.1.1 copied to clipboard
A common platform interface for desktop_context_menu.
desktop_context_menu_platform_interface #
A common platform interface for the desktop_context_menu plugin.
Usage #
To implement a new platform-specific implementation of desktop_context_menu, extend
DesktopContextMenuPlatform with an implementation that performs the
platform-specific behavior, and when you register your plugin, set the default
DesktopContextMenuPlatform by calling
DesktopContextMenuPlatform.instance = MyPlatformContextMenu().