aspectRatio property
Aspect ratio value.
Implementation
double get aspectRatio => _aspectRatio;
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);
}
}