返回介绍

Painting and effect widgets

发布于 2019-12-09 21:31:31 字数 12027 浏览 1019 评论 0 收藏 0

These widgets apply visual effects to the children without changing their layout, size, or position.

    See more widgets in the widget catalog.

    Transform

    A widget that applies a transformation before painting its child.

    Documentation
    Opacity

    A widget that makes its child partially transparent.

    Documentation
    DecoratedBox

    A widget that paints a Decoration either before or after its child paints.

    Documentation
    FractionalTranslation

    A widget that applies a translation expressed as a fraction of the box's size before painting its child.

    Documentation
    RotatedBox

    A widget that rotates its child by a integral number of quarter turns.

    Documentation
    ClipOval

    A widget that clips its child using an oval.

    Documentation
    ClipPath

    A widget that clips its child using a path.

    Documentation
    ClipRect

    A widget that clips its child using a rectangle.

    Documentation
    CustomPaint

    A widget that provides a canvas on which to draw during the paint phase.

    Documentation
    BackdropFilter

    A widget that applies a filter to the existing painted content and then paints child. This effect is relatively expensive, especially if the filter is non-local, such as a blur.

    Documentation

    See more widgets in the widget catalog.

    如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

    扫码二维码加入Web技术交流群

    发布评论

    需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
    列表为空,暂无数据
      我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
      原文