FlutterGestureDetector constructor

  1. @FreezedUnionValue.new(FlutterGestureDetector.unionValue)
FlutterGestureDetector({
  1. @cN FlutterKey? key,
  2. @cN AnyWidget? child,
  3. AWActions? onTap,
  4. AWActions? onSecondaryTap,
  5. AWActions? onDoubleTap,
  6. AWActions? onLongPress,
  7. AWActions? onSecondaryLongPress,
  8. AWActions? onTertiaryLongPress,
  9. FlutterHitTestBehavior? behavior,
  10. bool? excludeFromSemantics,
})

Implementation

@FreezedUnionValue(FlutterGestureDetector.unionValue)
factory FlutterGestureDetector({
  @FlutterKey.cN FlutterKey? key,
  @AnyWidget.cN AnyWidget? child,
  AWActions? onTap,
  AWActions? onSecondaryTap,
  AWActions? onDoubleTap,
  AWActions? onLongPress,
  AWActions? onSecondaryLongPress,
  AWActions? onTertiaryLongPress,
  FlutterHitTestBehavior? behavior,
  bool? excludeFromSemantics,
// DragStartBehavior dragStartBehavior = DragStartBehavior.start,
}) = _FlutterGestureDetector;