flutterCreateProject function
Create a flutter project.
Implementation
Future<void> flutterCreateProject({
required String path,
String template = flutterTemplateApp,
List<String>? platforms,
bool? noAnalyze,
}) async {
await Directory(path).prepare();
var shell = Shell().cd(dirname(path));
await shell.run(
'flutter create --template $template ${shellArgument(basename(path))}${platforms != null ? ' --platforms ${platforms.join(',')}' : ''}');
}