AnnotationToolbar constructor

const AnnotationToolbar({
  1. Key? key,
  2. required AnnotationMode currentMode,
  3. required Color currentColor,
  4. required double currentStrokeWidth,
  5. required ShapeType currentShapeType,
  6. required void onModeChanged(
    1. AnnotationMode
    ),
  7. required void onColorChanged(
    1. Color
    ),
  8. required void onStrokeWidthChanged(
    1. double
    ),
  9. required void onShapeTypeChanged(
    1. ShapeType
    ),
  10. required VoidCallback onExport,
  11. required VoidCallback onImport,
})

Implementation

const AnnotationToolbar({
  super.key,
  required this.currentMode,
  required this.currentColor,
  required this.currentStrokeWidth,
  required this.currentShapeType,
  required this.onModeChanged,
  required this.onColorChanged,
  required this.onStrokeWidthChanged,
  required this.onShapeTypeChanged,
  required this.onExport,
  required this.onImport,
});