ScanCommand class
Command to scan for Flutter projects and cache files.
- Inheritance
-
- Object
- BaseCommand
- ScanCommand
Constructors
Properties
- colorOutput ↔ bool
-
Whether color output is enabled.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeDefaults ↔ bool
-
Whether to include default scan roots.
getter/setter pair
- includeGlobal ↔ bool
-
Whether to include global cache targets.
getter/setter pair
- includeOptional ↔ bool
-
Whether to include optional project targets.
getter/setter pair
- jsonOutput ↔ bool
-
Whether JSON output is enabled.
getter/setter pairinherited
- maxDepth ↔ int
-
Maximum recursion depth (0 = unlimited).
getter/setter pair
-
priorityRoots
↔ List<
String> -
Priority roots to scan (user-specified).
getter/setter pair
- quiet ↔ bool
-
Whether quiet output is enabled.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verbose ↔ bool
-
Whether verbose output is enabled.
getter/setter pairinherited
Methods
-
formatSize(
int bytes) → String -
Formats a size in bytes to human-readable format.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printError(
String message) → void -
Prints an error message.
inherited
-
printMessage(
String message) → void -
Prints a message if not in quiet mode.
inherited
-
printVerbose(
String message) → void -
Prints verbose message if verbose mode is enabled.
inherited
-
repeatString(
String str, int count) → String -
Repeats a string a given number of times.
inherited
-
run(
) → Future< int> - Runs the scan command.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited