hasDisabledElevation method

WidgetMatcher<FloatingActionButton> hasDisabledElevation(
  1. double? value
)

Expects that disabledElevation of FloatingActionButton equals (==) value.

Example usage:

spot<FloatingActionButton>().existsOnce().hasDisabledElevation(10.5);

Implementation

WidgetMatcher<FloatingActionButton> hasDisabledElevation(double? value) {
  return hasDiagnosticProp<double>('disabledElevation',
      (it) => value == null ? it.isNull() : it.equals(value));
}