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 1160ba7 commit 6f6b33aCopy full SHA for 6f6b33a
packages/firebase_storage/firebase_storage/lib/firebase_storage.dart
@@ -14,6 +14,7 @@ import 'package:firebase_core_platform_interface/firebase_core_platform_interfac
14
show FirebasePluginPlatform;
15
import 'package:firebase_storage_platform_interface/firebase_storage_platform_interface.dart';
16
import 'package:flutter/foundation.dart';
17
+import 'package:universal_io/io.dart' show File;
18
19
import 'src/utils.dart';
20
packages/firebase_storage/firebase_storage/pubspec.yaml
@@ -25,6 +25,8 @@ dependencies:
25
firebase_storage_web: ^3.10.3
26
flutter:
27
sdk: flutter
28
+ # Used to expose File even when web isn't supported
29
+ universal_io: ^2.2.2
30
31
dev_dependencies:
32
flutter_test:
0 commit comments