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