withReverse method

  1. @useResult
WidgetSelector<GridView> withReverse(
  1. bool? value
)

Creates a WidgetSelector that finds all GridView where reverse equals (==) value.

Example usage:

spot<GridView>().withReverse(true).existsOnce();

Implementation

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