Search packages, repositories and app categories

custom_clippers cover
Package detailsv2.0.4

custom_clippers

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.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
885
Likes
111
Pub points
160

Install package

flutter pub add custom_clippers

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

custom_clippers is a Flutter package offering a variety of custom clippers and message-shaped clipper designs. These clippers can be easily applied to the clipper property of ClipPath widgets, enabling developers to create unique and visually appealing shapes in their UIs. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it versatile for cross-platform applications. It simplifies the process of designing complex shapes without writing extensive custom painting code.

Use cases

  • Creating custom-shaped containers
  • Designing message bubbles with unique borders
  • Building decorative UI elements
  • Enhancing app visuals with geometric shapes
  • Implementing animated shape transitions

Key features

  • Pre-built custom clippers
  • Support for message-style clipping
  • Cross-platform compatibility
  • Easy integration with ClipPath
  • Minimal boilerplate required

Suitable for

  • UI designers seeking creative shapes
  • Developers building chat interfaces
  • Apps requiring distinctive visual elements
  • Flutter beginners exploring clipping
  • Projects focused on custom animations

Considerations

  • Requires understanding of ClipPath usage
  • Limited to shape clipping only
  • No built-in animation support
  • Best used with static or simple dynamic shapes
  • Not ideal for complex vector graphics

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

custom_clippers

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.

Getting Started

To use this package, add custom_clippers as a dependency in your pubspec.yaml file.

Add dependency

dependencies:
  custom_clippers: ^2.0.4

Import

import 'package:custom_clippers/custom_clippers.dart';

Usage

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),
             ),
       ),
),

Output

custom_clipper

Supported Clippers

custom_clipper1 custom_clipper2 custom_clipper3 custom_clipper4 custom_clipper5 custom_clipper6

Categories

Source repository

Projects using this package

No data available yet.