onTertiaryPressed method

Widget onTertiaryPressed(
  1. VoidCallback action, {
  2. HitTestBehavior? behavior,
  3. Set<PointerDeviceKind>? supportedDevices,
})

Adds a handler for tertiary press gestures (middle-click) to this widget in Arcane UI.

Useful for tab-like actions in BottomNavigationBar, executing action on tertiary press. Optional behavior and supportedDevices customization. Theme-consistent with ArcaneTheme, efficient hit testing.

Implementation

Widget onTertiaryPressed(VoidCallback action,
        {HitTestBehavior? behavior,
        Set<PointerDeviceKind>? supportedDevices}) =>
    OnGesture.tertiaryPress(
        action: action,
        behavior: behavior,
        supportedDevices: supportedDevices,
        child: this);