NiceImageAnnotator constructor
const
NiceImageAnnotator({
- Key? key,
- required String imageUrl,
- List<
NiceAnnotation> initialAnnotations = const [], - ValueChanged<
List< ? onAnnotationsChanged,NiceAnnotation> > - Future<
void> onSave()?, - bool readOnly = false,
- NiceAnnotationTool initialTool = NiceAnnotationTool.pen,
Implementation
const NiceImageAnnotator({
super.key,
required this.imageUrl,
this.initialAnnotations = const [],
this.onAnnotationsChanged,
this.onSave,
this.readOnly = false,
this.initialTool = NiceAnnotationTool.pen,
});