clipBehavior property
Clip
clipBehavior
Whether overflowing children should be clipped. See Clip.
Some children in a stack might overflow its box. When this property is not Clip.none, children cannot paint outside of the stack's box.
Implementation
Clip get clipBehavior => _clipBehavior;
Implementation
set clipBehavior(Clip value) {
if (_clipBehavior != value) {
_clipBehavior = value;
markNeedsPaint();
}
}