v2.0.4custom_clippers
custom_clippers 是一个包含多个自定义剪裁器和不同类型消息剪裁器的包,您可以将其赋值给 ClipPath 的 clipper 属性。
111喜欢 780近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
custom_clippers 是一个包含多个自定义剪裁器和不同类型消息剪裁器的包,您可以将其赋值给 ClipPath 的 clipper 属性。
{"sdk":"flutter"}{"sdk":"flutter"}^5.0.0以下为英文项目原文快照,最新内容请访问 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),
),
),
),
custom_clipper
custom_clipper1 custom_clipper2 custom_clipper3 custom_clipper4 custom_clipper5 custom_clipper6