size property Null safety

Size? size
final

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.

Implementation

final Size? size;