Tappable constructor

const Tappable({
  1. Key? key,
  2. Widget? child,
  3. GestureTapCallback? onTap,
  4. GestureTapCallback? onDoubleTap,
  5. GestureLongPressCallback? onLongPress,
  6. GestureTapDownCallback? onTapDown,
  7. GestureTapUpCallback? onTapUp,
  8. GestureTapCancelCallback? onTapCancel,
  9. HitTestBehavior? behavior,
  10. String? tooltip,
})

Implementation

const Tappable({
  Key? key,
  this.child,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.onTapDown,
  this.onTapUp,
  this.onTapCancel,
  this.behavior,
  this.tooltip,
}) : super(key: key);