【问题标题】:how i can use custom shape use flutter?我如何使用自定义形状使用颤振?
【发布时间】:2021-04-05 18:09:25
【问题描述】:

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

【问题讨论】:

    标签: android ios flutter dart mobile


    【解决方案1】:

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

    flutter_custom_clippers

    polygon_clipper

    clippy_flutter

    【讨论】:

    • thx 我使用了这个包 polygon_clipper,非常有帮助
    猜你喜欢
    • 2022-07-27
    • 2019-05-10
    • 2021-09-16
    • 1970-01-01
    • 2018-09-13
    • 1970-01-01
    • 2021-10-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多