DartPackage class
Properties
-
binDir
→ Directory
-
The
bin
directory containing entrypoints for CLIs
no setter
-
buildDir
→ Directory
-
The
build
directory where build outputs can be placed
no setter
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
isFlutterPackage
→ bool
-
true
when the package has a dependency on flutter
, thus requires the flutter_tool, not pub to get dependencies
final
-
libDir
→ Directory
-
The
lib
directory containing the packages source code
no setter
-
lockfile
→ File
-
no setter
-
name
→ String
-
The package name defined in the pubspec.yaml
final
-
pubspec
→ File
-
no setter
-
root
→ Directory
-
The directory the package is located on disk
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
srcDirs
→ Set<Directory>
-
Set of directories containing dart source code
no setter
-
testDir
→ Directory
-
The
test
directory containing unit tests
no setter
-
toolDir
→ Directory
-
The
tool
directory containing helper scripts
no setter