scaleFactor property

  1. @override
double get scaleFactor

How much the widget is scaled at the moment.

Can be used if zoom functionality is needed (e.g. through InteractiveViewer) so that the pen width remains the same.

Implementation

@override
double get scaleFactor;