clipBehavior property

  1. @override
Clip clipBehavior
override

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

Implementation

@override
Clip get clipBehavior => _clipBehavior;
  1. @override
void clipBehavior=(Clip value)
override

Implementation

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