ClipRect

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

The ClipRect take clipper that is callback function and return Rect object.

This widget use ClipPath internally to clip the child widget

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


Basic