isSupported static method
- BuildContext context
Whether the current device supports showing the system context menu.
Currently, this is only supported on newer versions of iOS.
Implementation
static bool isSupported(BuildContext context) {
return MediaQuery.maybeSupportsShowingSystemContextMenu(context) ?? false;
}