RenderPhysicalShape constructor
Creates an arbitrary shape clip.
The color
and clipper
parameters are required.
The elevation
parameter must be non-negative.
Implementation
RenderPhysicalShape({
super.child,
required CustomClipper<Path> super.clipper,
super.clipBehavior,
super.elevation = 0.0,
required super.color,
super.shadowColor = const Color(0xFF000000),
}) : assert(elevation >= 0.0);