lineGradientPercent property
double
get
lineGradientPercent
Implementation
double get lineGradientPercent {
if (_lineGradientPercent == -1) return 1.0;
return _lineGradientPercent.clamp(0.0, 1.0);
}
set
lineGradientPercent
(double percent)
Implementation
set lineGradientPercent(double percent) {
_lineGradientPercent = percent;
repaint();
}