InkWell constructor

const InkWell({Key key, Widget child, GestureTapCallback onTap, GestureTapCallback onDoubleTap, GestureLongPressCallback onLongPress, GestureTapDownCallback onTapDown, GestureTapCancelCallback onTapCancel, ValueChanged<bool> onHighlightChanged, Color highlightColor, Color splashColor, InteractiveInkFeatureFactory splashFactory, double radius, BorderRadius borderRadius, ShapeBorder customBorder, bool enableFeedback: true, bool excludeFromSemantics: false })

Creates an ink well.

Must have an ancestor Material widget in which to cause ink reactions.

The enableFeedback and excludeFromSemantics arguments must not be null.

Implementation

const InkWell({
  Key key,
  Widget child,
  GestureTapCallback onTap,
  GestureTapCallback onDoubleTap,
  GestureLongPressCallback onLongPress,
  GestureTapDownCallback onTapDown,
  GestureTapCancelCallback onTapCancel,
  ValueChanged<bool> onHighlightChanged,
  Color highlightColor,
  Color splashColor,
  InteractiveInkFeatureFactory splashFactory,
  double radius,
  BorderRadius borderRadius,
  ShapeBorder customBorder,
  bool enableFeedback = true,
  bool excludeFromSemantics = false,
}) : super(
  key: key,
  child: child,
  onTap: onTap,
  onDoubleTap: onDoubleTap,
  onLongPress: onLongPress,
  onTapDown: onTapDown,
  onTapCancel: onTapCancel,
  onHighlightChanged: onHighlightChanged,
  containedInkWell: true,
  highlightShape: BoxShape.rectangle,
  highlightColor: highlightColor,
  splashColor: splashColor,
  splashFactory: splashFactory,
  radius: radius,
  borderRadius: borderRadius,
  customBorder: customBorder,
  enableFeedback: enableFeedback,
  excludeFromSemantics: excludeFromSemantics,
);