hasFocusNode method
Expects that focusNode of FloatingActionButton equals (==) value
.
Example usage:
spot<FloatingActionButton>().existsOnce().hasFocusNode(FocusNode());
Implementation
WidgetMatcher<FloatingActionButton> hasFocusNode(FocusNode? value) {
return hasDiagnosticProp<FocusNode>(
'focusNode', (it) => value == null ? it.isNull() : it.equals(value));
}