clipBehavior property

Clip get clipBehavior

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.

Defaults to Clip.hardEdge.

Implementation

Clip get clipBehavior => _clipBehavior;
set clipBehavior (Clip value)

Implementation

set clipBehavior(Clip value) {
  if (value != _clipBehavior) {
    _clipBehavior = value;
    markNeedsPaint();
    markNeedsSemanticsUpdate();
  }
}