spotIcon function

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

Creates a chainable WidgetSelector that finds a Icon based on IconData icon

Implementation

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