NmAnnotationCanvas constructor
const
NmAnnotationCanvas({
- Key? key,
- required List<
NmAnnotation> annotations, - required ValueChanged<
NmAnnotation> onAdd, - String authorId = 'me',
- Color colorFor(
- String authorId
Creates an NmAnnotationCanvas.
Implementation
const NmAnnotationCanvas({super.key, required this.annotations, required this.onAdd, this.authorId = 'me', this.colorFor});