clipBehavior property

Clip clipBehavior
final

The content will be clipped (or not) according to this option.

See the enum Clip for details of all possible options and their common use cases.

In debug mode, if clipBehavior is Clip.none, and the child overflows its constraints, a warning will be printed on the console, and black and yellow striped areas will appear where the overflow occurs. For other values of clipBehavior, the contents are clipped accordingly.

Defaults to Clip.none.

Implementation

final Clip clipBehavior;