CustomInkWell constructor

const CustomInkWell({
  1. Key? key,
  2. Widget? child,
  3. GestureTapCallback? onTap,
  4. GestureTapCallback? onDoubleTap,
  5. GestureLongPressCallback? onLongPress,
  6. GestureTapDownCallback? onTapDown,
  7. GestureTapUpCallback? onTapUp,
  8. GestureTapCallback? onTapCancel,
  9. GestureTapCallback? onSecondaryTap,
  10. GestureTapUpCallback? onSecondaryTapUp,
  11. GestureTapDownCallback? onSecondaryTapDown,
  12. GestureTapCallback? onSecondaryTapCancel,
  13. ValueChanged<bool>? onHighlightChanged,
  14. ValueChanged<bool>? onHover,
  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. ValueChanged<bool>? onFocusChange,
  30. bool autofocus = false,
  31. WidgetStatesController? statesController,
  32. Duration? hoverDuration,
})

构造函数

Implementation

const CustomInkWell({
  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,
});