spotIcons function

  1. @useResult
  2. @Deprecated('Use spotIcon()')
WidgetSelector<Icon> spotIcons(
  1. IconData icon, {
  2. List<WidgetSelector<Widget>> parents = const [],
  3. List<WidgetSelector<Widget>> children = const [],
})

Creates a chainable WidgetSelector that finds all widgets of type Icon that have icon as IconData

Implementation

@useResult
@Deprecated('Use spotIcon()')
WidgetSelector<Icon> spotIcons(
  IconData icon, {
  List<WidgetSelector> parents = const [],
  List<WidgetSelector> children = const [],
}) {
  return _global.spotIcons(
    icon,
    parents: parents,
    children: children,
  );
}