ScreenboardOptions constructor

ScreenboardOptions({
  1. required double customWidth,
  2. required double customHeight,
  3. required ScreenboardParameters parameters,
  4. bool showAspect = true,
  5. Color defaultColor = Colors.black,
  6. double brushThickness = 6.0,
  7. double lineThickness = 6.0,
  8. double eraserThickness = 10.0,
  9. bool allowAnnotation = true,
  10. bool autoRemoveShapes = true,
  11. Duration autoRemoveDuration = const Duration(seconds: 15),
})

Implementation

ScreenboardOptions({
  required this.customWidth,
  required this.customHeight,
  required this.parameters,
  this.showAspect = true,
  this.defaultColor = Colors.black,
  this.brushThickness = 6.0,
  this.lineThickness = 6.0,
  this.eraserThickness = 10.0,
  this.allowAnnotation = true,
  this.autoRemoveShapes = true,
  this.autoRemoveDuration = const Duration(seconds: 15),
});