Tappable constructor

const Tappable(
  1. {Key key,
  2. Widget child,
  3. GestureTapCallback onTap,
  4. GestureTapCallback onDoubleTap,
  5. GestureLongPressCallback onLongPress,
  6. GestureTapDownCallback onTapDown,
  7. GestureTapCancelCallback onTapCancel}
)

Implementation

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