withMatchTextDirection method

  1. @useResult
WidgetSelector<Image> withMatchTextDirection(
  1. bool? value
)

Creates a WidgetSelector that finds all Image where matchTextDirection equals (==) value.

Example usage:

spot<Image>().withMatchTextDirection(true).existsOnce();

Implementation

@useResult
WidgetSelector<Image> withMatchTextDirection(bool? value) {
  return withDiagnosticProp<bool>('matchTextDirection',
      (it) => value == null ? it.isNull() : it.equals(value));
}