withFrameBuilder method

  1. @useResult
WidgetSelector<Image> withFrameBuilder(
  1. Function? value
)

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

Example usage:

spot<Image>().withFrameBuilder(() {}).existsOnce();

Implementation

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