hasStyle method
Expects that style of TextField equals (==) value
.
Example usage:
spot<TextField>().existsOnce().hasStyle(TextStyle());
Implementation
WidgetMatcher<TextField> hasStyle(TextStyle? value) {
return hasDiagnosticProp<TextStyle>(
'style', (it) => value == null ? it.isNull() : it.equals(value));
}