ClipPath

This widget clip the child widget like ClipPath Widget in Flutter.

ClipPath take clipper that is callback function and return Path object.

You can create Whatever shape you want with Path.

See: https://api.flutter.dev/flutter/widgets/ClipPath-class.html

Props

clipped

Value: boolean (default: true)

clipper

Value: Function

This defines The way of clipping.

The size which is given to this callback would be ClipPath’s size.