onContextMenu method
Adds a context menu gesture to any widget (e.g., iOS long-press context menu)
Implementation
Widget onContextMenu(VoidCallback? onContextMenu) {
return GestureDetector(
onSecondaryTapDown: (_) => onContextMenu?.call(),
child: this,
);
}