clipBehavior property

  1. @override
Clip get 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
set clipBehavior (Clip value)
override

Implementation

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