shadeFactor property Null safety

double shadeFactor
final

A double to provide to shadeFunction when "shading" each colored step.

The default value is -90 as this corresponds to the default shadeFunction of Shades.withWhite. In this scenario, the color of each step transitions from thatColor to thatColor.withWhite(-90).

Implementation

final double shadeFactor;