FeatureGenerator class

Service responsible for rendering feature and sub-component fragments into an existing Flutter project.

Constructors

FeatureGenerator({TemplateRenderer renderer = const TemplateRenderer(), String? fragmentsBasePath})

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

generateComponent({required String rawFeatureName, required String componentType, required String rawComponentName, required String projectPath}) → Future<RenderResult>
Generates a single component (screen, model, repository) into projectPath.
generateFeature({required String rawFeatureName, required String projectPath}) → Future<RenderResult>
Generates a full feature skeleton into projectPath.
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

Static Methods

resolveFragmentsBasePath() → Future<String>
Resolves the fragments directory path using package and script path resolution.