clipBehavior property

  1. @override
Clip get clipBehavior
override

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

@override
Clip get clipBehavior => $value.clipBehavior;