InkWell constructor

const InkWell({
  1. Key? key,
  2. required Widget child,
  3. GestureTapCallback? onTap,
  4. GestureTapCallback? onDoubleTap,
  5. GestureLongPressCallback? onLongPress,
  6. GestureTapDownCallback? onTapDown,
  7. GestureTapCancelCallback? onTapCancel,
  8. Color? splashColor,
  9. Color? highlightColor,
  10. BorderRadius? borderRadius,
  11. ShapeBorder? customBorder,
  12. bool enableFeedback = true,
  13. bool excludeFromSemantics = false,
})

Implementation

const InkWell({
  super.key,
  required this.child,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.onTapDown,
  this.onTapCancel,
  this.splashColor,
  this.highlightColor,
  this.borderRadius,
  this.customBorder,
  this.enableFeedback = true,
  this.excludeFromSemantics = false,
});