Package class
Constructors
-
Package({required List<String> devDependencies, required List<String> dependencies, required List<String> dependencyOverrides, required Map<String, Package> packageMap, required String name, required String path, required String pathRelativeToWorkspace, required Version version, required Uri? publishTo, required PubSpec pubSpec})
-
Properties
-
allDependenciesInWorkspace
→ Map<String, Package>
-
latefinal
-
allDependentsInWorkspace
→ Map<String, Package>
-
latefinal
-
allTransitiveDependenciesInWorkspace
→ Map<String, Package>
-
latefinal
-
allTransitiveDependentsInWorkspace
→ Map<String, Package>
-
latefinal
-
androidPackage
→ String?
-
no setter
-
androidPluginClass
→ String?
-
no setter
-
dependencies
→ List<String>
-
final
-
dependenciesInWorkspace
→ Map<String, Package>
-
The dependencies listed in
dependencies:
inside the package's
pubspec.yaml
that are part of the melos workspace.
latefinal
-
dependencyOverrides
→ List<String>
-
final
-
dependencyOverridesInWorkspace
→ Map<String, Package>
-
The dependencies listed in
dependency_overrides:
inside the package's
pubspec.yaml
that are part of the melos workspace.
latefinal
-
dependentsInWorkspace
→ Map<String, Package>
-
The packages that depend on this package as a dependency.
latefinal
-
dependentsOverridesInWorkspace
→ Map<String, Package>
-
The packages that depend on this package as a dependency override.
latefinal
-
devDependencies
→ List<String>
-
final
-
devDependenciesInWorkspace
→ Map<String, Package>
-
The dependencies listed in
dev_dependencies:
inside the package's
pubspec.yaml
that are part of the melos workspace.
latefinal
-
devDependentsInWorkspace
→ Map<String, Package>
-
The packages that depend on this package as a dev dependency.
latefinal
-
enclosingPackage
→ Package?
-
The Package that encloses this package, if any.
latefinal
-
examplePackage
→ Package?
-
The example Package contained within this package, if any.
latefinal
-
flutterAppSupportsAndroid
→ bool
-
Returns whether this package supports Flutter for Android.
no setter
-
flutterAppSupportsIos
→ bool
-
Returns whether this package supports Flutter for iOS.
no setter
-
flutterAppSupportsLinux
→ bool
-
Returns whether this package supports Flutter for Linux.
no setter
-
flutterAppSupportsMacos
→ bool
-
Returns whether this package supports Flutter for MacOS.
no setter
-
flutterAppSupportsWeb
→ bool
-
Returns whether this package supports Flutter for Web.
no setter
-
flutterAppSupportsWindows
→ bool
-
Returns whether this package supports Flutter for Windows.
no setter
-
flutterPluginSupportsAndroid
→ bool
-
Returns whether this package supports Flutter for Android.
no setter
-
flutterPluginSupportsIos
→ bool
-
Returns whether this package supports Flutter for iOS.
no setter
-
flutterPluginSupportsLinux
→ bool
-
Returns whether this package supports Flutter for Linux.
no setter
-
flutterPluginSupportsMacos
→ bool
-
Returns whether this package supports Flutter for MacOS.
no setter
-
flutterPluginSupportsWeb
→ bool
-
Returns whether this package supports Flutter for Web.
no setter
-
flutterPluginSupportsWindows
→ bool
-
Returns whether this package supports Flutter for Windows.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hasTests
→ bool
-
Returns whether this package contains a test directory.
no setter
-
isAddToApp
→ bool
-
no setter
-
isExample
→ bool
-
Whether this package is an example package as defined by examplePackage.
no setter
-
isFlutterApp
→ bool
-
Returns whether this package is a Flutter app.
no setter
-
isFlutterPackage
→ bool
-
Returns whether this package is for Flutter.
latefinal
-
isFlutterPlugin
→ bool
-
Returns whether this package is a Flutter plugin.
no setter
-
isPrivate
→ bool
-
Returns whether this package is private (publish_to set to 'none').
no setter
-
javaPluginClassPath
→ String?
-
no setter
-
kotlinPluginClassPath
→ String?
-
no setter
-
name
→ String
-
final
-
path
→ String
-
final
-
pathRelativeToWorkspace
→ String
-
Package path as a normalized sting relative to the root of the workspace.
e.g. "packages/firebase_database".
final
-
publishTo
→ Uri?
-
final
-
pubSpec
→ PubSpec
-
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ PackageType
-
Type of this package, e.g. PackageType.flutterApp.
no setter
-
version
→ Version
-
final