hasDisabledElevationWhere method

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

Expects that disabledElevation of FloatingActionButton matches the condition in match.

Example usage:

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

Implementation

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