firebase_storage_image 0.1.0 firebase_storage_image: ^0.1.0 copied to clipboard
A Flutter's ImageProvider for Firebase Cloud Storage.
firebase_storage_image #
A Flutter's ImageProvider for Firebase Cloud Storage.
Getting Started #
FirebaseStorageImage
implements ImageProvider. You can use it directly for Image, CircleAvatar, ImageIcon, and something like that.
Example #
import 'package:firebase_storage_image/firebase_storage_image.dart';
final storageLocation = Uri.parse('gs://project-12345.appspot.com/path/to/file.png');
class YourCustomCircleAvatar {
@override
Widget build(BuildContext context) {
return CircleAvatar(
backgroundImage: FirebaseStorageImage(storageLocation),
);
}
}
License #
Contribution #
I need your help improving this package with leaving Pull Requests and Issues!