Skip to content

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.

License

Notifications You must be signed in to change notification settings

jagritjkh/custom_clippers

Repository files navigation

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: ^1.0.0

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

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages