whereFontColor method

  1. @useResult
WidgetSelector<AnyText> whereFontColor(
  1. MatchProp<Color> match
)

Creates a WidgetSelector that finds all AnyText where fontColor matches the condition.

Example usage:

spot<AnyText>().whereFontColor((it) => it.equals(Colors.red)).existsOnce();

Implementation

@useResult
WidgetSelector<AnyText> whereFontColor(MatchProp<Color> match) {
  return withDiagnosticProp<Color>('font_color', match);
}