AnnotationLayer<T> constructor

const AnnotationLayer<T>({
  1. Key? key,
  2. required NodeFlowController<T> controller,
  3. bool filter(
    1. Annotation
    )?,
})

Creates an annotation layer.

Parameters

  • controller: The node flow controller managing the annotations
  • filter: Optional predicate to filter which annotations to render

Implementation

const AnnotationLayer({super.key, required this.controller, this.filter});