whereEnabled method

  1. @useResult
WidgetSelector<TextField> whereEnabled(
  1. MatchProp<bool> match
)

Creates a WidgetSelector that finds all TextField where enabled matches the condition.

Example usage:

spot<TextField>().whereEnabled((it) => it.isTrue()).existsOnce();

Implementation

@useResult
WidgetSelector<TextField> whereEnabled(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('enabled', match);
}