FeatureGenerator class
Generates feature modules and screens inside existing srik projects.
Supports all four architectures:
- clean → layered (domain/data/presentation) under features/
- mvvm → model/service/viewmodel/view across top-level folders
- feature-first → flat files under features/
- simple → screens/ + models/, no layering
Constructors
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
-
generateFeature(
ProjectContext ctx, String featureName) → void - Generate a full feature for the project's architecture.
-
generateScreen(
ProjectContext ctx, String screenName, {required String feature}) → void - Generate a single screen for the project's architecture.
-
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
-
designDirFor(
String architecture) → String - Maps an architecture id to its design folder (relative to lib/).