findByPath method

WidgetSelection findByPath(
  1. String path
)

Implementation

WidgetSelection findByPath(String path) => WidgetSelection._fromMatches(
  scope: 'widget $type [$key]',
  selector: 'findByPath("$path")',
  matches:
      [this, ...descendants].where((widget) => widget.path == path).toList(),
);