DrawImage constructor

DrawImage({
  1. Image? image,
  2. UpdatePoints? update,
  3. List<Offset?>? points,
  4. bool isDragging = false,
  5. bool isSignature = false,
  6. Color? backgroundColor,
  7. List<PaintInfo>? paintHistory,
})

Constructor for the canvas

Implementation

DrawImage(
    {this.image,
    this.update,
    this.points,
    this.isDragging = false,
    this.isSignature = false,
    this.backgroundColor,
    this.paintHistory});