clipBehavior property
Determines how the widget's child (and the child's descendants) are clipped.
In order from cheapest to most expensive:
- Clip.none: don't perform any clipping.
- Clip.hardEdge: each pixel will either be fully visible or fully clipped.
- Clip.antiAlias: boundary pixels might be made partially transparent, in order to achieve a smoother appearance.
- Clip.antiAliasWithSaveLayer: all clipped content is placed in its own layer to prevent "bleeding-edge artifacts".
Implementation
final Clip clipBehavior;