PaintingAndEffectsExtensions extension

Commonly used painting and effects extensions on Widgets.

on

Methods

backdropFilter({required ImageFilter filter, Key? key, BlendMode blendMode = BlendMode.srcOver}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

A widget that applies a filter to the existing painted content
clipOval({Key? key, CustomClipper<Rect>? clipper, Clip clipBehavior = Clip.antiAlias}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

A widget that clips its child using an oval.
clipPath({required CustomClipper<Path> clipper, Key? key, Clip clipBehavior = Clip.antiAlias}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

A widget that clips its child using a path.
clipRect({Key? key, CustomClipper<Rect>? clipper, Clip clipBehavior = Clip.antiAlias}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

A widget that clips its child using a rectangle.
clipRRect({required BorderRadius borderRadius, Key? key, CustomClipper<RRect>? clipper, Clip clipBehavior = Clip.antiAlias}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

A widget that clips its child using a rounded rectangle.
customPaint({required CustomPainter painter, Key? key, CustomPainter? foregroundPainter, Size size = Size.zero, bool isComplex = false, bool willChange = false}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

A widget that provides a canvas on which to draw during the paint phase.
decorated({Color? color, DecorationImage? image, BoxBorder? border, BorderRadiusGeometry? borderRadius, List<BoxShadow>? boxShadow, Gradient? gradient, BlendMode? backgroundBlendMode, BoxShape shape = BoxShape.rectangle, Key? key, DecorationPosition position = DecorationPosition.background}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

A widget that paints a Decoration either before or after its child paints.
fractionalTranslation({required Offset translation, bool transformHitTests = true, Key? key}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

A widget that applies a transformation before painting its child.
opacity({required double opacity, Key? key, bool alwaysIncludeSemantics = false}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

Controls the opacity of it's child.
rotated({required int quaterTurns, Key? key}) Widget

Available on Widget, provided by the PaintingAndEffectsExtensions extension

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