semanticBounds property

  1. @override
Rect get semanticBounds
override

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

Implementation

@override
Rect get semanticBounds {
  if (child != null) {
    return child!.semanticBounds;
  }
  return super.semanticBounds;
}