WhiteBoard constructor
const
WhiteBoard({
- Key? key,
- WhiteBoardController? controller,
- Color backgroundColor = Colors.white,
- Color strokeColor = Colors.blue,
- double strokeWidth = 4,
- bool isErasing = false,
- ValueChanged<
Uint8List> ? onConvertImage, - 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);