withAlwaysIncludeSemantics method

  1. @useResult
WidgetSelector<Opacity> withAlwaysIncludeSemantics(
  1. bool? value
)

Creates a WidgetSelector that finds all Opacity where alwaysIncludeSemantics equals (==) value.

Example usage:

spot<Opacity>().withAlwaysIncludeSemantics(true).existsOnce();

Implementation

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