ProjectConfig class

Represents the configuration for a Flutter project

Constructors

ProjectConfig({required String projectName, required String organizationName, required StateManagementType stateManagement, required ArchitectureType architecture, bool includeGoRouter = false, bool includeLinterRules = false, bool includeFreezed = false, List<PlatformType> platforms = const [PlatformType.mobile], MobilePlatform mobilePlatform = MobilePlatform.both, DesktopPlatform desktopPlatform = DesktopPlatform.all, CustomDesktopPlatforms? customDesktopPlatforms, String? outputDirectory, bool skipGitInit = false})
const

Properties

architecture ArchitectureType
final
customDesktopPlatforms CustomDesktopPlatforms?
final
desktopPlatform DesktopPlatform
final
hashCode int
The hash code for this object.
no setteroverride
includeFreezed bool
final
includeGoRouter bool
final
includeLinterRules bool
final
isValid bool
Validates the project configuration
no setter
mobilePlatform MobilePlatform
final
organizationName String
final
outputDirectory String?
final
platforms List<PlatformType>
final
projectName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipGitInit bool
final
stateManagement StateManagementType
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.
override

Static Methods

isValidOrganizationName(String name) bool
Validates organization name format (allows underscores for project name compatibility)
isValidProjectName(String name) bool
Validates project name format