AnnotationToolbar constructor
const
AnnotationToolbar({
- Key? key,
- required AnnotationMode currentMode,
- required Color currentColor,
- required double currentStrokeWidth,
- required ShapeType currentShapeType,
- required void onModeChanged(),
- required void onColorChanged(),
- required void onStrokeWidthChanged(),
- required void onShapeTypeChanged(),
- required VoidCallback onExport,
- 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,
});