clipBehavior property
The clipping behavior for the panel.
Controls how content is clipped at the panel's bounds:
- Clip.none: No clipping (default, best performance)
- Clip.antiAlias: Smooth anti-aliased clipping
- Clip.hardEdge: Sharp clipping without anti-aliasing
Use Clip.antiAlias or Clip.hardEdge when the child extends beyond the panel's bounds (e.g., images, overflowing content).
Defaults to Clip.none.
Implementation
final Clip clipBehavior;