diff --git a/packages/nx-flutter/src/utils/flutter-utils.ts b/packages/nx-flutter/src/utils/flutter-utils.ts index c0b172be..a6908945 100644 --- a/packages/nx-flutter/src/utils/flutter-utils.ts +++ b/packages/nx-flutter/src/utils/flutter-utils.ts @@ -31,7 +31,7 @@ export function buildFlutterCreateOptions(options: NormalizedSchema) { const keyValueParams = [ { key: 'project-name', - value: options.projectName.replace(new RegExp('-', 'g'), '_'), + value: options.projectName.replace(new RegExp('[-.]', 'g'), '_'), }, { key: 'org', value: options.org }, { key: 'description', value: quote(options.description) },