FeatureGenerator class

Generates a new feature with clean architecture layers.

Creates the data, domain, and presentation layers for a feature, along with route registration and dependency injection setup.

Constructors

FeatureGenerator(String projectPath, StateManagement stateManagement)
Creates a new FeatureGenerator.

Properties

hashCode → int
The hash code for this object.
no setterinherited
libPath → String
Returns the path to the lib directory.
no setter
projectPath → String
The path to the Flutter project.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stateManagement → StateManagement
The state management solution used in the project.
final

Methods

generateFeature(String featureName) → void
Generates a complete feature structure.
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