RenderPhysicalModel constructor
Creates a rounded-rectangular clip.
The color
is required.
The elevation
parameter must be non-negative.
Implementation
RenderPhysicalModel({
super.child,
BoxShape shape = BoxShape.rectangle,
super.clipBehavior,
BorderRadius? borderRadius,
super.elevation = 0.0,
required super.color,
super.shadowColor = const Color(0xFF000000),
}) : assert(elevation >= 0.0),
_shape = shape,
_borderRadius = borderRadius;