ratio property

double? get ratio

Implementation

double? get ratio => _ratio;
set ratio (double? v)

Implementation

set ratio(double? v) {
  if (v == _ratio) return;
  _ratio = v;
  markNeedsPaint();
}