GuiClipShape constructor

const GuiClipShape({
  1. Key? key,
  2. required IGuiShape shape,
  3. List<GuiShadow>? shadows = const [],
  4. Widget? child,
})

Create a clip with a specified shape (ie. GuiCustomShape, GuiShapePolygon, GuiShapeStar, ...) Shadows with color and elevation may be defined to create floating effect. The child widget is clipped to the specified shape

Implementation

const GuiClipShape(
    {Key? key, required this.shape, this.shadows = const [], this.child})
    : super(key: key);