当前位置: 首页 > 文档资料 > Flutter 英文文档 >

Painting and effect widgets

优质
小牛编辑
125浏览
2023-12-01

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.