existsOnce method
Asserts that exactly one widget of type W
exists.
Implementation
WidgetMatcher<W> existsOnce() =>
WidgetMatcher.fromSnapshot(_exists(min: 1, max: 1));
Asserts that exactly one widget of type W
exists.
WidgetMatcher<W> existsOnce() =>
WidgetMatcher.fromSnapshot(_exists(min: 1, max: 1));