whereFontWeight method
Creates a WidgetSelector that finds all AnyText where fontWeight matches the condition.
Example usage:
spot<AnyText>().whereFontWeight((it) => it.equals(FontWeight.bold)).existsOnce();
Implementation
@useResult
WidgetSelector<AnyText> whereFontWeight(MatchProp<FontWeight> match) {
return withDiagnosticProp<FontWeight>('font_weight', match);
}