FLUTTER ECOSYSTEM

jagritjkh/custom_clippers

custom_clippers 是一个包含多个自定义剪裁器和不同类型消息剪裁器的包,您可以将其赋值给 ClipPath 的 clipper 属性。

自定义剪裁 项目封面
Stars
9
Forks
1
最近推送(UTC)
2025年5月11日
项目状态
未归档
Jagrit GitHub avatar
GITHUB User

Jagrit ↗

Full Stack FE: Flutter BE: Java Springboot

语言DartSwiftKotlinObjective-C

此仓库发布的插件

使用的依赖

依赖清单 3 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}
  • flutter_lints开发依赖^5.0.0

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

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