gradient property

Shader? gradient
final

Provide gradient to waveform using this. Use shader as shown in example.

Implementation

final Shader? gradient;