clipBehavior property Null safety

Clip clipBehavior
final

The clip behavior when Container.decoration is not null.

Defaults to Clip.none. Must be Clip.none if decoration is null.

If a clip is to be applied, the Decoration.getClipPath method for the provided decoration must return a clip path. (This is not supported by all decorations; the default implementation of that method throws an UnsupportedError.)

Implementation

final Clip clipBehavior;