onDoublePressed method

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

Adds a handler for double press/tap gestures to this widget in Arcane UI.

Quick actions like expand in Tile, triggering action on double press. Custom behavior and supportedDevices. Pairs with HapticFeedback for success vibe, optimized for doubles.

Implementation

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