BaseInkWell constructor

const BaseInkWell({
  1. Key? key,
  2. Widget? child,
  3. void onTap()?,
  4. void onDoubleTap()?,
  5. void onLongPress()?,
  6. void onTapDown(
    1. TapDownDetails
    )?,
  7. void onTapUp(
    1. TapUpDetails
    )?,
  8. void onTapCancel()?,
  9. void onSecondaryTap()?,
  10. void onSecondaryTapUp(
    1. TapUpDetails
    )?,
  11. void onSecondaryTapDown(
    1. TapDownDetails
    )?,
  12. void onSecondaryTapCancel()?,
  13. void onHighlightChanged(
    1. bool
    )?,
  14. void onHover(
    1. bool
    )?,
  15. MouseCursor? mouseCursor,
  16. Color? focusColor,
  17. Color? hoverColor,
  18. Color? highlightColor,
  19. WidgetStateProperty<Color?>? overlayColor,
  20. Color? splashColor,
  21. InteractiveInkFeatureFactory? splashFactory,
  22. double? radius,
  23. BorderRadius? borderRadius,
  24. ShapeBorder? customBorder,
  25. bool enableFeedback = true,
  26. bool excludeFromSemantics = false,
  27. FocusNode? focusNode,
  28. bool canRequestFocus = true,
  29. void onFocusChange(
    1. bool
    )?,
  30. bool autofocus = false,
  31. WidgetStatesController? statesController,
  32. Duration? hoverDuration,
})

Implementation

const BaseInkWell({
  super.key,
  this.child,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.onTapDown,
  this.onTapUp,
  this.onTapCancel,
  this.onSecondaryTap,
  this.onSecondaryTapUp,
  this.onSecondaryTapDown,
  this.onSecondaryTapCancel,
  this.onHighlightChanged,
  this.onHover,
  this.mouseCursor,
  this.focusColor,
  this.hoverColor,
  this.highlightColor,
  this.overlayColor,
  this.splashColor,
  this.splashFactory,
  this.radius,
  this.borderRadius,
  this.customBorder,
  this.enableFeedback = true,
  this.excludeFromSemantics = false,
  this.focusNode,
  this.canRequestFocus = true,
  this.onFocusChange,
  this.autofocus = false,
  this.statesController,
  this.hoverDuration,
});