aspectRatio property

double aspectRatio
inherited

Aspect ratio value.

Implementation

double get aspectRatio => _aspectRatio;
void aspectRatio=(double value)
inherited

Change the _aspectRatio field value. aspectRatioChanged will be invoked only if the field's value has changed.

Implementation

set aspectRatio(double value) {
  if (_aspectRatio == value) {
    return;
  }
  double from = _aspectRatio;
  _aspectRatio = value;
  if (hasValidated) {
    aspectRatioChanged(from, value);
  }
}