decorationClipBehavior property

Clip? decorationClipBehavior
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.

This can be used by MaterialScrollBehavior to clip a StretchingOverscrollIndicator.

This Clip does not affect the Viewport.clipBehavior, but is rather passed from the same value by Scrollable so that decorators like StretchingOverscrollIndicator honor the same clip.

Defaults to null.

Implementation

final Clip? decorationClipBehavior;