containedInkWell property

bool containedInkWell
final, inherited

Whether this ink response should be clipped its bounds.

This flag also controls whether the splash migrates to the center of the InkResponse or not. If containedInkWell is true, the splash remains centered around the tap location. If it is false, the splash migrates to the center of the InkResponse as it grows.

See also:

  • highlightShape, the shape of the focus, hover, and pressed highlights.
  • borderRadius, which controls the corners when the box is a rectangle.
  • getRectCallback, which controls the size and position of the box when it is a rectangle.

Implementation

final bool containedInkWell