custom_clippers is a package that contains multiple custom clippers and different types of message clippers which you can give to clipper property of ClipPath.
To use this package, add custom_clippers
as a dependency in your pubspec.yaml file.
dependencies:
custom_clippers: ^1.0.0
import 'package:custom_clippers/custom_clippers.dart';
ClipPath(
clipper: MultiplePointsClipper(Sides.BOTTOM, heightOfPoint: 50),
child: Container(
height: 160,
padding: EdgeInsets.all(20),
color: Colors.red,
alignment: Alignment.center,
child: Text(
'Multiple Points Clipper Bottom Only',
style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
),
),
),