绘画和效果 Widgets

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

See more widgets in the Flutter widget catalog.

  • Opacity

    A widget that makes its child partially transparent.

    Documentation

  • Transform

    A widget that applies a transformation before painting its child.

    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 Flutter widget catalog.