OnGesture.longTertiaryPress constructor

const OnGesture.longTertiaryPress({
  1. Key? key,
  2. required VoidCallback action,
  3. required Widget child,
  4. HitTestBehavior? behavior,
  5. Set<PointerDeviceKind>? supportedDevices,
})

Creates an OnGesture widget that detects long presses with the tertiary button in Arcane UI.

For long middle-clicks, e.g., bulk actions in Sidebar. action triggers post-hold, configurable via behavior and supportedDevices. Theme-aware with ArcaneTheme, performant design.

Implementation

const OnGesture.longTertiaryPress(
    {super.key,
    required this.action,
    required this.child,
    this.behavior,
    this.supportedDevices})
    : type = GestureType.longTertiaryPress;