aspectRatio property
double
get
aspectRatio
Gets the current aspect ratio.
Implementation
double get aspectRatio => _aspectRatio;
set
aspectRatio
(double value)
Sets the desired aspect ratio.
Implementation
set aspectRatio(double value) {
_aspectRatio = value;
notifyListeners();
}