hasShapeWhere method
Expects that shape of ListTile matches the condition in match
.
Example usage:
spot<ListTile>().existsOnce().hasShapeWhere((it) => it.equals(RoundedRectangleBorder()));
Implementation
WidgetMatcher<ListTile> hasShapeWhere(MatchProp<ShapeBorder> match) {
return hasDiagnosticProp<ShapeBorder>('shape', match);
}