expectNoOverflow method

void expectNoOverflow(
  1. String id
)

Implementation

void expectNoOverflow(String id) {
  final finder = finderForId(id);
  final renderObject = tester.renderObject(finder);
  if (renderObject is RenderBox && renderObject.hasSize) {
    // No direct overflow flag; presence without exception is sufficient.
    return;
  }
}