PackageRegistry class

Central registry storing known Flutter packages and recommended versions categorized by architecture/state management.

Constructors

PackageRegistry()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getVersion(String packageName) String?
Returns the recommended version for a given package name. If the package is not in the hardcoded registry, it returns a default constraint (e.g. any) or null, but for this phase we only support known ones or assume 'any'.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

defaultPackages → const Map<String, String>
Default set of commonly used packages and version constraints.
flutterPackages → const Map<String, Map<String, List<String>>>
Categorized Flutter packages mapped by state management framework and feature area.