hasHoverColor method

WidgetMatcher<FloatingActionButton> hasHoverColor(
  1. Color? value
)

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

Example usage:

spot<FloatingActionButton>().existsOnce().hasHoverColor(Colors.red);

Implementation

WidgetMatcher<FloatingActionButton> hasHoverColor(Color? value) {
  return hasDiagnosticProp<Color>(
      'hoverColor', (it) => value == null ? it.isNull() : it.equals(value));
}