hasPropertiesWhere method

WidgetMatcher<Semantics> hasPropertiesWhere(
  1. MatchProp<SemanticsProperties> match
)

Expects that properties of Semantics matches the condition in match.

Example usage:

spot<Semantics>().existsOnce().hasPropertiesWhere((it) => it.equals(SemanticsProperties()));

Implementation

WidgetMatcher<Semantics> hasPropertiesWhere(
    MatchProp<SemanticsProperties> match) {
  return hasDiagnosticProp<SemanticsProperties>('properties', match);
}