clipBehavior property

Clip clipBehavior
final

The clipping behavior for the container.

Controls how content is clipped at the container's bounds:

Use Clip.antiAlias or Clip.hardEdge when the child extends beyond the container's bounds (e.g., images, overflowing content).

Defaults to Clip.none.

Implementation

final Clip clipBehavior;