v2.0.4custom_clippers
custom_clippers 是一個包含多個自定義剪裁器和不同類型訊息剪裁器的套件,您可以將其賦值給 ClipPath 的 clipper 屬性。
111喜歡 885近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
custom_clippers 是一個包含多個自定義剪裁器和不同類型訊息剪裁器的套件,您可以將其賦值給 ClipPath 的 clipper 屬性。
以下為英文專案原文快照,最新內容請造訪 GitHub。
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.
To use this package, add custom_clippers as a dependency in your pubspec.yaml file.
dependencies:
custom_clippers: ^2.0.4
import 'package:custom_clippers/custom_clippers.dart';
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),
),
),
),





依賴清單 3 項
{"sdk":"flutter"}{"sdk":"flutter"}^5.0.0先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗