hasElevationWhere method

WidgetMatcher<FloatingActionButton> hasElevationWhere(
  1. MatchProp<double> match
)

Expects that elevation of FloatingActionButton matches the condition in match.

Example usage:

spot<FloatingActionButton>().existsOnce().hasElevationWhere((it) => it.isGreaterThan(10.5));

Implementation

WidgetMatcher<FloatingActionButton> hasElevationWhere(
    MatchProp<double> match) {
  return hasDiagnosticProp<double>('elevation', match);
}