WhiteBoard constructor

const WhiteBoard({
  1. Key? key,
  2. WhiteBoardController? controller,
  3. Color backgroundColor = Colors.white,
  4. Color strokeColor = Colors.blue,
  5. double strokeWidth = 4,
  6. bool isErasing = false,
  7. ValueChanged<Uint8List>? onConvertImage,
  8. OnRedoUndo? onRedoUndo,
})

Implementation

const WhiteBoard({
  Key? key,
  this.controller,
  this.backgroundColor = Colors.white,
  this.strokeColor = Colors.blue,
  this.strokeWidth = 4,
  this.isErasing = false,
  this.onConvertImage,
  this.onRedoUndo,
}) : super(key: key);