whereRight method

Creates a WidgetSelector that finds all SafeArea where right matches the condition.

Example usage:

spot<SafeArea>().whereRight((it) => it.isTrue()).existsOnce();

Implementation

@useResult
WidgetSelector<SafeArea> whereRight(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('right', match);
}