withFontInherit method
Creates a WidgetSelector that finds all AnyText where fontInherit equals (==) value
.
Example usage:
spot<AnyText>().withFontInherit(true).existsOnce();
Implementation
@useResult
WidgetSelector<AnyText> withFontInherit(bool? value) {
return withDiagnosticProp<bool>(
'font_inherit', (it) => value == null ? it.isNull() : it.equals(value));
}