addSelectables method

void addSelectables(
  1. List<CssSelector> cssSelectors,
  2. T callbackCtxt
)

Implementation

void addSelectables(List<CssSelector> cssSelectors, T callbackCtxt) {
  SelectorListContext? listContext;
  if (cssSelectors.length > 1) {
    listContext = SelectorListContext(cssSelectors);
    _listContexts.add(listContext);
  }
  for (var i = 0; i < cssSelectors.length; i++) {
    _addSelectable(cssSelectors[i], callbackCtxt, listContext);
  }
}