inkWell method

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

Wrap a widget in InkWell.

Implementation

InkWell inkWell({
  Key? key,
  void Function()? onTap,
  void Function()? onDoubleTap,
  void Function()? onLongPress,
  void Function(TapDownDetails)? onTapDown,
  void Function(TapUpDetails)? onTapUp,
  void Function()? onTapCancel,
  void Function()? onSecondaryTap,
  void Function(TapUpDetails)? onSecondaryTapUp,
  void Function(TapDownDetails)? onSecondaryTapDown,
  void Function()? onSecondaryTapCancel,
  void Function(bool)? onHighlightChanged,
  void Function(bool)? onHover,
  MouseCursor? mouseCursor,
  Color? focusColor,
  Color? hoverColor,
  Color? highlightColor,
  WidgetStateProperty<Color?>? overlayColor,
  Color? splashColor,
  InteractiveInkFeatureFactory? splashFactory,
  double? radius,
  BorderRadius? borderRadius,
  ShapeBorder? customBorder,
  bool enableFeedback = true,
  bool excludeFromSemantics = false,
  FocusNode? focusNode,
  bool canRequestFocus = true,
  void Function(bool)? onFocusChange,
  bool autofocus = false,
  WidgetStatesController? statesController,
}) {
  return InkWell(
    key: key,
    onTap: onTap,
    onDoubleTap: onDoubleTap,
    onLongPress: onLongPress,
    onTapDown: onTapDown,
    onTapUp: onTapUp,
    onTapCancel: onTapCancel,
    onSecondaryTap: onSecondaryTap,
    onSecondaryTapUp: onSecondaryTapUp,
    onSecondaryTapDown: onSecondaryTapDown,
    onSecondaryTapCancel: onSecondaryTapCancel,
    onHighlightChanged: onHighlightChanged,
    onHover: onHover,
    mouseCursor: mouseCursor,
    focusColor: focusColor,
    hoverColor: hoverColor,
    highlightColor: highlightColor,
    overlayColor: overlayColor,
    splashColor: splashColor,
    splashFactory: splashFactory,
    radius: radius,
    borderRadius: borderRadius,
    customBorder: customBorder,
    enableFeedback: enableFeedback,
    excludeFromSemantics: excludeFromSemantics,
    focusNode: focusNode,
    canRequestFocus: canRequestFocus,
    onFocusChange: onFocusChange,
    autofocus: autofocus,
    statesController: statesController,
    child: this,
  );
}