expectNoOverflow method

void expectNoOverflow({
  1. Finder? of,
  2. bool matchRoot = false,
  3. bool skipOffstage = true,
})

Implementation

void expectNoOverflow({
  final Finder? of,
  final bool matchRoot = false,
  final bool skipOffstage = true,
}) {
  final overflowRenderFlexList = getOverflowRenderFlexList(
    of: of,
    matchRoot: matchRoot,
    skipOffstage: skipOffstage,
  );
  expect(overflowRenderFlexList.length, 0);
}