[go: up one dir, main page]

Painting and effect widgets

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

BackdropFilter

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

ClipOval

A widget that clips its child using an oval.

ClipPath

A widget that clips its child using a path.

ClipRect

A widget that clips its child using a rectangle.

CustomPaint

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

DecoratedBox

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

FractionalTranslation

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

Opacity

A widget that makes its child partially transparent.

RotatedBox

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

Transform

A widget that applies a transformation before painting its child.

Find more widgets in the widget catalog.