PaintCopy extension
Extension to add a copy method for Paint.
- on
Methods
-
copyWith(
{BlendMode? blendMode, Color? color, ColorFilter? colorFilter, FilterQuality? filterQuality, ImageFilter? imageFilter, bool? invertColors, bool? isAntiAlias, MaskFilter? maskFilter, Shader? shader, StrokeCap? strokeCap, StrokeJoin? strokeJoin, double? strokeMiterLimit, double? strokeWidth, PaintingStyle? style}) → Paint - Creates a copy of this but with the given fields replaced with the new values.