hasFocusElevationWhere method

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

Expects that focusElevation of FloatingActionButton matches the condition in match.

Example usage:

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

Implementation

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