Drawing constructor
const
Drawing({
- required Sketch sketch,
- SketchLine? activeLine,
- ScribblePointerMode allowedPointersMode,
- List<
int> activePointerIds, - Point? pointerPosition,
- int selectedColor,
- double selectedWidth,
- double scaleFactor,
- double simplificationTolerance,
Implementation
const factory Drawing(
{required final Sketch sketch,
final SketchLine? activeLine,
final ScribblePointerMode allowedPointersMode,
final List<int> activePointerIds,
final Point? pointerPosition,
final int selectedColor,
final double selectedWidth,
final double scaleFactor,
final double simplificationTolerance}) = _$DrawingImpl;