downloadFontTo function
Implementation
Future<void> downloadFontTo(String url,
{required String filepath, bool overwrite = false}) async {
final uri = Uri.parse(url);
final file = File(filepath);
if (await file.exists() && !overwrite) return;
await file.writeAsBytes(await downloadBytes(uri));
}