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.none, and must not be null.
Implementation
Clip get clipBehavior => _clipBehavior;
Implementation
set clipBehavior(Clip value) {
assert(value != null); // ignore: unnecessary_null_comparison
if (value != _clipBehavior) {
_clipBehavior = value;
markNeedsPaint();
markNeedsSemanticsUpdate();
}
}