hasHighlightElevation method

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

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

Example usage:

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

Implementation

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