how i can use custom shape use flutter?

瘦欲@ 提交于 2021-01-25 03:27:38

问题


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


回答1:


There are lots of custom shape creator packages, like:

flutter_custom_clippers

polygon_clipper

clippy_flutter



来源:https://stackoverflow.com/questions/65486619/how-i-can-use-custom-shape-use-flutter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!