finderForLocatorId function

Finder finderForLocatorId(
  1. String id, {
  2. bool skipOffstage = true,
})

Finder for YAML id: / testId: steps — ValueKey only.

Same contract as the pre-Invokable find.byKey(ValueKey(id)). Ensemble widgets with YAML id: still get a ValueKey because testId falls back to id when building KeyedSubtree.

Implementation

Finder finderForLocatorId(String id, {bool skipOffstage = true}) =>
    find.byKey(ValueKey(id), skipOffstage: skipOffstage);