invert property

  1. @override
bool invert
final

If false, the colors will be interpolated in the color space defined by the starting color within any pairing, however if true, the colors will be interpolated in the space defined by the ending color.

Note: invert will have no effect on the resulting gradient if colorSpace is defined.

Implementation

@override
final bool invert;