ComponentScan constructor

const ComponentScan({
  1. List<Filter> includeFilters = const [],
  2. List<Filter> excludeFilters = const [],
  3. bool useDefaultFilters = true,
  4. bool lazyInit = false,
})

Scans the annotated file's directory; the arguments change what counts as a bean.

Implementation

const ComponentScan({
  this.includeFilters = const [],
  this.excludeFilters = const [],
  this.useDefaultFilters = true,
  this.lazyInit = false,
});