offset

));

...

Conceptually, this has changed how AnnotatedRegionLayer.offset
and size are defined. They used to mean
“the clipping rectangle that restricts the annotation search”,
while they now jointly represent
“the region of the annotation object”.

Migration guide

Code that is actively using this local position is probably
directly interacting with layers, since using render objects or
widgets have already made this result unreliable. In order to
preserve the previous behavior, you can reimplement
AnnotatedRegionLayer to return a local position without
subtracting the offset.

Timeline

Landed in version: 1.15.2
In stable release: 1.17

References

API documentation:

AnnotatedRegionLayer

AnnotationEntry

Relevant issues:

Issue #49568