搜索插件、代码仓与 APP 分类

GitHub 代码仓jagritjkh/custom_clippers

自定义剪裁

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

自定义剪裁 项目封面
星标
9
复刻
1
最近推送(UTC)
2025年5月11日
项目状态
未归档

原始 README

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

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

Jagrit GitHub avatar
GitHub 作者

Jagrit ↗

Full Stack FE: Flutter BE: Java Springboot

语言DartSwiftKotlinObjective-C

此仓库发布的插件

使用的依赖

依赖清单 3 项

  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}
  • flutter_lints开发依赖^5.0.0

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗