OnGesture constructor

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

Implementation

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