scaleFactor property
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
double get scaleFactor => throw _privateConstructorUsedError;