PhysicalShape constructor
Creates a physical model with an arbitrary shape clip.
The color
is required; physical things have a color.
The elevation
must be non-negative.
Implementation
const PhysicalShape({
super.key,
required this.clipper,
this.clipBehavior = Clip.none,
this.elevation = 0.0,
required this.color,
this.shadowColor = const Color(0xFF000000),
super.child,
}) : assert(elevation >= 0.0);