spotKeys<W extends Widget> function
- @useResult
- @Deprecated('Use spotKey()')
- Key key, {
- List<
WidgetSelector< parents = const [],Widget> > - List<
WidgetSelector< children = const [],Widget> >
Creates a chainable WidgetSelector that finds all widgets with the given
key
.
Implementation
@useResult
@Deprecated('Use spotKey()')
WidgetSelector<W> spotKeys<W extends Widget>(
Key key, {
List<WidgetSelector> parents = const [],
List<WidgetSelector> children = const [],
}) {
return _global.spotKeys<W>(
key,
parents: parents,
children: children,
);
}