create static method
Create a TemplateCopier with templates ready This will download templates from GitHub if not available locally
Implementation
static Future<TemplateCopier> create(
SetupConfig config, {
void Function(String message)? onProgress,
}) async {
final String templatesPath = await TemplatePathResolver.findTemplatesPath(
onProgress: onProgress,
);
return TemplateCopier._(config, templatesPath);
}