findByName method

WidgetSelection findByName(
  1. String name
)

Implementation

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