scaleFactor property

  1. @override
double 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

/// {@template view.state.scribble_state.scale_factor}
/// 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.
/// {@endtemplate}
double get scaleFactor;