boundingClientRect property

BoundingClientRect? get boundingClientRect

Implementation

BoundingClientRect? get boundingClientRect {
  final renderBox = currentContext?.findRenderObject() as RenderBox?;
  if (renderBox == null) {
    return null;
  }

  return BoundingClientRect(renderBox);
}