Scanner class
Walks a Flutter project directory and returns analyzable Dart files.
Skips generated files, build outputs, and the .dart_tool cache by default.
Constructors
Properties
-
excludeBasenames
→ Set<
String> -
Exact basenames excluded regardless of location.
final
-
excludeDirs
→ Set<
String> -
Directory names excluded if they appear anywhere in the path.
final
-
excludeSuffixes
→ List<
String> -
File-name suffixes (or exact names) that mark a file as generated.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scan(
String rootPath) → Future< List< File> > -
Scans
rootPathrecursively and returns every.dartfile that isn't excluded by the configured rules. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited