DependencyManager class

Adds Riverpod packages to pubspec.yaml and comments out legacy framework deps.

Adds flutter_riverpod, riverpod_annotation, riverpod_generator, and build_runner; comments out provider, flutter_bloc, get, mobx, etc.

Constructors

DependencyManager(String projectPath)
Creates a DependencyManager for the project at projectPath.

Properties

hashCode int
The hash code for this object.
no setterinherited
projectPath String
Absolute path to the project whose pubspec.yaml will be updated.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateDependencies() Future<DependencyUpdateResult>
Updates pubspec.yaml and returns a summary of changes made.

Operators

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