Flutter's ImageProvider for images in Firebase Cloud Storage.
FirebaseStorageImage
implements ImageProvider. So you can use this directly for Image, CircleAvatar, ImageIcon, and something like that.
import 'package:flutter/material.dart';
import 'package:firebase_storage_image/firebase_storage_image.dart';
class YourCircleAvatar extends StatelessWidget {
@override
Widget build(BuildContext context) => const CircleAvatar(
backgroundImage: FirebaseStorageImage(
'gs://project-12345.appspot.com/path/to/avatar_image.png',
),
);
}
I need your help improving this package with leaving Pull Requests and Issues!