ProjectConfig constructor
const
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,
Implementation
const ProjectConfig({
required this.projectName,
required this.organizationName,
required this.stateManagement,
required this.architecture,
this.includeGoRouter = false,
this.includeLinterRules = false,
this.includeFreezed = false,
this.platforms = const [PlatformType.mobile],
this.mobilePlatform = MobilePlatform.both,
this.desktopPlatform = DesktopPlatform.all,
this.customDesktopPlatforms,
this.outputDirectory,
this.skipGitInit = false,
});