RenderPhysicalShape constructor
Creates an arbitrary shape clip.
The color and shape parameters are required.
The clipper, elevation, color and shadowColor must
not be null.
Implementation
RenderPhysicalShape({
  RenderBox child,
  @required CustomClipper<Path> clipper,
  Clip clipBehavior = Clip.none,
  double elevation = 0.0,
  @required Color color,
  Color shadowColor = const Color(0xFF000000),
}) : assert(clipper != null),
     assert(elevation != null),
     assert(color != null),
     assert(shadowColor != null),
     super(
       child: child,
       elevation: elevation,
       color: color,
       shadowColor: shadowColor,
       clipper: clipper,
       clipBehavior: clipBehavior
     );