hasHoverElevation method

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

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

Example usage:

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

Implementation

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