createElement method

  1. @override
HtmlPageLoaderElement createElement(
  1. Finder finder,
  2. List<Filter> filters,
  3. List<Checker> checkers
)
override

Creates a new element based on the current context plus the passed Finder, Filters, and Checkers.

Implementation

@override
HtmlPageLoaderElement createElement(
    Finder finder, List<Filter> filters, List<Checker> checkers) {
  return HtmlPageLoaderElement(externalSyncFn: syncFn)
    .._finder = finder
    .._filters = filters
    .._checkers = checkers
    .._listeners = _listeners
    .._parentElement = this;
}