/firebase_storage_image

:fire: Flutter's ImageProvider for images in Firebase Cloud Storage

Primary LanguageDartMIT LicenseMIT

firebase_storage_image

pub package

Flutter's ImageProvider for images in Firebase Cloud Storage.

Getting Started

FirebaseStorageImage implements ImageProvider. So you can use this directly for Image, CircleAvatar, ImageIcon, and something like that.

Example

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',
        ),
      );
}

License

MIT

Contribution

I need your help improving this package with leaving Pull Requests and Issues!