size property Null safety

Size? size

The size of the annotated object.

If size is provided, then the annotation is found only if the target position is contained by the rectangle formed by size and offset. Otherwise no such restriction is applied, and clipping can only be done by the ancestor layers.


final Size? size;