NmAnnotationCanvas constructor

const NmAnnotationCanvas({
  1. Key? key,
  2. required List<NmAnnotation> annotations,
  3. required ValueChanged<NmAnnotation> onAdd,
  4. String authorId = 'me',
  5. Color colorFor(
    1. String authorId
    )?,
})

Creates an NmAnnotationCanvas.

Implementation

const NmAnnotationCanvas({super.key, required this.annotations, required this.onAdd, this.authorId = 'me', this.colorFor});