Source
num get ratio => _ratio;
Source
set ratio(num value) { if (value < 0.0) value = 0.0; if (value > 1.0) value = 1.0; _ratio = value; }
num get ratio => _ratio;
set ratio(num value) { if (value < 0.0) value = 0.0; if (value > 1.0) value = 1.0; _ratio = value; }