ratio property

double get ratio

Implementation

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

Implementation

set ratio(dynamic v) {
  if (_ratio != null) {
    _ratio!.set(v);
  } else if (v != null) {
    _ratio = DoubleObservable(Binding.toKey(id, 'ratio'), v,
        scope: scope, listener: onPropertyChange);
  }
}