create method
appName dastur nomi. args consoledan olingan ma'lumot orqali project yaratish.
Implementation
Future create({required List<String> args, required String appName}) async {
args.insert(0, 'clone');
await Process.run('git', args,
workingDirectory: p.current, runInShell: true)
.then((result) {
stdout.write(result.stdout);
stderr.write(result.stderr);
});
await changeAppName(
appName: appName, platforms: [Platform.android, Platform.ios]);
changeFilesImports(
appName,"example");
}