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