ClipRRectLayer constructor
Creates a layer with a rounded-rectangular clip.
The clipRRect
property must be non-null before the compositing phase of
the pipeline.
Implementation
ClipRRectLayer({ @required RRect clipRRect, Clip clipBehavior = Clip.antiAlias }) :
_clipRRect = clipRRect, _clipBehavior = clipBehavior,
assert(clipBehavior != null), assert(clipBehavior != Clip.none);