inkWell method

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

A rectangular area of a Material that responds to touch. Must have a Material ancestor.

Implementation

Widget inkWell({
  Key? key,
  GestureTapCallback? onTap,
  GestureTapCallback? onDoubleTap,
  GestureLongPressCallback? onLongPress,
  GestureTapDownCallback? onTapDown,
  GestureTapUpCallback? onTapUp,
  GestureTapCallback? onTapCancel,
  GestureTapCallback? onSecondaryTap,
  GestureTapUpCallback? onSecondaryTapUp,
  GestureTapDownCallback? onSecondaryTapDown,
  GestureTapCallback? onSecondaryTapCancel,
  ValueChanged<bool>? onHighlightChanged,
  ValueChanged<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,
  ValueChanged<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,
  );
}