hasFocusElevation method

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

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

Example usage:

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

Implementation

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