scale property
double
get
scale
Implementation
double get scale {
if (this is FixedResolutionViewport) {
return (this as FixedResolutionViewport).scale.maxValue();
} else if (this is FixedAspectRatioViewport) {
return (this as FixedAspectRatioViewport).scale;
}
return 1.0;
}