Skip to content
pubscout

custom_clippers

2.0.4, released 2 years ago by jagritjkh.com

Provides custom clipper widgets for ClipPath to create various shapes.

WASM-ready
$ flutter pub add custom_clippers
Source repository

What it does

The package supplies a collection of ready‑made CustomClipper implementations and message clippers. You can pass these clippers to the clipper property of ClipPath to render custom‑shaped widgets.

AI-written summary of version 2.0.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need predefined shape clippers without writing your own CustomClipper logic
  • You want quick visual variations for containers, cards, or banners
  • You prefer a pure‑Flutter solution with no native code

Skip it when

  • You require animated or interactive clipping
  • You need high‑performance clipping for large lists or complex scenes
  • You need platform‑specific features beyond clipping

Strengths

  • Easy to drop‑in and use
  • No additional dependencies beyond Flutter
  • Covers many common shapes and message bubbles

Weaknesses

  • Limited to static shapes, no built‑in animation support
  • Package updates are infrequent
  • May not cover very specialized clipping needs

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
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)),
  ),
);

Alternatives

Packages that do the same job and could replace custom_clippers.