PhysicalModel constructor
Creates a physical model with a rounded-rectangular clip.
The color is required; physical things have a color.
The shape, elevation, color, and shadowColor must not be null.
Implementation
const PhysicalModel({
Key key,
this.shape = BoxShape.rectangle,
this.clipBehavior = Clip.none,
this.borderRadius,
this.elevation = 0.0,
@required this.color,
this.shadowColor = const Color(0xFF000000),
Widget child,
}) : assert(shape != null),
assert(elevation != null),
assert(color != null),
assert(shadowColor != null),
super(key: key, child: child);