hasShapeWhere method

WidgetMatcher<ListTile> hasShapeWhere(
  1. MatchProp<ShapeBorder> match
)

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);
}