我如何使用自定义形状使用颤动? [英] how i can use custom shape use flutter?

查看:45
本文介绍了我如何使用自定义形状使用颤动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将任何图像放置在类似于该图像的形状中,我使用了CustomPaint并绘制了该形状,但是我无法在其中使用该图像,也无法控制该形状的大小

how I can put any image inside a shape like this image I used CustomPaint and draw this shape but I can't use the image inside this and also I can't control the size for this shape

推荐答案

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

There are lots of custom shape creator packages, like:

flutter_custom_clippers

polygon_clipper

clippy_flutter

这篇关于我如何使用自定义形状使用颤动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆