clipBehavior property
By default this 📜 Curtains
is ClipRect-ed
for easy BoxShadow support.
Initialize clipBehavior to Clip.none to not render this
ClipRect
, altering the tree depth if modified post-build.
This would allow clipping in some other way elsewhere in the tree
and save on clip calculations.
Default is Clip.hardEdge.
Clip.antiAlias or Clip.antiAliasWithSaveLayer
may be passed if necessary.
Implementation
final Clip clipBehavior;