PaintX extension

Adds functionality to Paint to clone it with a different color.

on

Methods

copyWith({Color? color, Shader? shader}) Paint

Available on Paint, provided by the PaintX extension

Clones the Paint with a different color.