ScribbleSketch constructor

const ScribbleSketch({
  1. required Sketch sketch,
  2. double scaleFactor = 1,
  3. bool simulatePressure = true,
  4. Key? key,
})

A widget for displaying a scribble sketch without any input functionalities.

The sketch is expected to not have any active line, i.e. all lines are considered finished, the sketch is complete.

Implementation

const ScribbleSketch({
  required this.sketch,
  this.scaleFactor = 1,
  this.simulatePressure = true,
  super.key,
});