我如何使用自定义形状使用颤振?

时间:2020-12-29 02:35:51

标签: android ios flutter dart mobile

enter image description here

如何将任何图像放入像此图像这样的形状中 我使用了 CustomPaint 并绘制了此形状,但我无法在其中使用图像,也无法控制此形状的大小

1 个答案:

答案 0 :(得分:1)

有很多自定义形状创建程序包,例如:

flutter_custom_clippers

polygon_clipper

clippy_flutter