hasShapeWhere method

Expects that shape of FloatingActionButton matches the condition in match.

Example usage:

spot<FloatingActionButton>().existsOnce().hasShapeWhere((it) => it.equals(RoundedRectangleBorder()));

Implementation

WidgetMatcher<FloatingActionButton> hasShapeWhere(
    MatchProp<ShapeBorder> match) {
  return hasDiagnosticProp<ShapeBorder>('shape', match);
}