FlutterProjectFolder class

Flutter project nature.

Detected when pubspec.yaml contains flutter SDK dependency.

Inheritance

Constructors

FlutterProjectFolder(FsFolder fsFolder, {required String projectName, String? version, Map<String, dynamic> dependencies = const {}, Map<String, dynamic> devDependencies = const {}, Map<String, dynamic> pubspec = const {}, List<String> platforms = const [], bool isPlugin = false})

Properties

dependencies → Map<String, dynamic>
Dependencies map from pubspec.yaml.
finalinherited
devDependencies → Map<String, dynamic>
Dev dependencies map from pubspec.yaml.
finalinherited
fsFolder → FsFolder
The underlying filesystem folder.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isPlugin → bool
Whether this is a Flutter plugin.
final
isPublishable → bool
Whether this package is publishable to pub.dev.
no setterinherited
name → String
Folder name (basename of path).
no setterinherited
path → String
Absolute path to the folder.
no setterinherited
platforms → List<String>
Platforms enabled for this Flutter project.
final
projectName → String
Project name from pubspec.yaml.
finalinherited
pubspec → Map<String, dynamic>
Raw pubspec content as parsed YAML.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → String?
Version from pubspec.yaml.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited