semanticBounds property Null safety

  1. @override
Rect semanticBounds
override

The bounding box, in the local coordinate system, of this object, for accessibility purposes.

Implementation

@override
Rect get semanticBounds {
  assert(_rootTransform != null);
  return MatrixUtils.transformRect(_rootTransform!, Offset.zero & size);
}