We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ec3ad commit dfa8fe9Copy full SHA for dfa8fe9
lib/src/flutterflow_cli_base.dart
@@ -196,6 +196,7 @@ Future _downloadAssets({
196
final response = await client.get(Uri.parse(url));
197
if (response.statusCode >= 200 && response.statusCode < 300) {
198
final file = File(fileDest);
199
+ await file.parent.create(recursive: true);
200
await file.writeAsBytes(response.bodyBytes);
201
} else {
202
stderr.write('Error downloading asset $path. This is probably fine.\n');
0 commit comments