supportsShowingSystemContextMenu property

  1. @override
bool get supportsShowingSystemContextMenu
override

Whether showing system context menu is supported on the current platform.

This option is used by AdaptiveTextSelectionToolbar to decide whether to show system context menu, or to fallback to the default Flutter context menu.

Implementation

@override
bool get supportsShowingSystemContextMenu => _supportsShowingSystemContextMenu ?? _platformDispatcher.supportsShowingSystemContextMenu;
set supportsShowingSystemContextMenu (bool value)

Implementation

set supportsShowingSystemContextMenu(bool value) { // ignore: avoid_setters_without_getters
  _supportsShowingSystemContextMenu = value;
}