class

AnnotatedRegionLayer

extends

ContainerLayer

@override

bool

findAnnotations

>(

AnnotationResult

result

Offset

localPosition

@required

bool

onlyFirst

})

...

if

/* shouldAddAnnotation */

result

add

AnnotationEntry

>(

annotation:

typedValue

// Used to be:

// localPosition: localPosition,

localPosition:

localPosition

offset

));

...