hasHighlightElevationWhere method

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

Expects that highlightElevation of FloatingActionButton matches the condition in match.

Example usage:

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

Implementation

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