clipBehavior property

Clip 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, and must not be null.

Implementation

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

Implementation

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