num ratio

Source

num get ratio => _ratio;
void ratio=(num value)

Source

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