Drawing constructor

const Drawing({
  1. required Sketch sketch,
  2. SketchLine? activeLine,
  3. ScribblePointerMode allowedPointersMode,
  4. List<int> activePointerIds,
  5. Point? pointerPosition,
  6. int selectedColor,
  7. double selectedWidth,
  8. double scaleFactor,
  9. 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;