Config class

Represents the complete configuration for a new Flutter project.

This class holds all the choices made by the user through the CLI prompts, which are then used by the scaffolder to generate the project.

Constructors

Config({required String projectName, required StateManagementOption stateManagement, required RoutingOption routing, required bool useFlexColorScheme, required bool createLocalStorageService, required bool initializeSizeUtils, required bool initializeDotEnv})
Creates a new Config instance with the specified project preferences.

Properties

createLocalStorageService → bool
Whether to create a LocalStorageService using shared_preferences.
final
hashCode → int
The hash code for this object.
no setterinherited
initializeDotEnv → bool
Whether to initialize flutter_dotenv for environment variables.
final
initializeSizeUtils → bool
Whether to initialize SizeUtils for responsive design.
final
projectName → String
The name of the Flutter project.
final
routing → RoutingOption
The chosen routing solution.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stateManagement → StateManagementOption
The chosen state management solution.
final
useFlexColorScheme → bool
Whether to include flex_color_scheme for theming.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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