ProjectService class

Flutter Project Services APIs for interacting with local Flutter projects

This class provides methods for interacting with local Flutter projects.

Constructors

ProjectService(FVMContext? context)
const

Properties

context → FVMContext
Gets context, if no context is passed will get from scope
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findAncestor({Directory? directory}) Project
Recursive look up to find nested project directory Can start at a specific directory if provided
findVersion() String?
Search for version configured
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(Project project, {Map<String, String>? flavors, String? flutterSdkVersion, bool? updateVscodeSettings}) Project
Update the project with new configurations

Operators

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

Static Properties

fromContext ProjectService
Gets project service from context
no setter