hasHoverElevationWhere method

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

Expects that hoverElevation of FloatingActionButton matches the condition in match.

Example usage:

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

Implementation

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