DrawImage constructor

DrawImage({
  1. required Controller controller,
  2. Image? image,
  3. bool isSignature = false,
  4. Color? backgroundColor,
})

Constructor for the canvas

Implementation

DrawImage({
  required Controller controller,
  this.image,
  this.isSignature = false,
  this.backgroundColor,
}) : super(repaint: controller) {
  _controller = controller;
}