scaleX property

double get scaleX

Implementation

double get scaleX => toBounds.width / fromBounds.width;