Picture upload widget for Flutter which helps selecting and uploading one or multiple images to firebase storage.

Overview

Flutter Firebase Picture Uploader

This library offers a Picture Upload widget which can be used to upload one or multiple images to your Firebase Storage.

With this library the following is possible:

  • Upload one or multiple images via PictureUploadWidget
  • Delete images via PictureUploadWidget
  • Multiple customization options (font size, text, color, etc.)
  • Custom upload or download methods possible

Prerequisites

Important: In order to use this library, you have to...

  1. Add Firebase to your project, e.g. for iOS copy your GoogleService-Info.plist into ios/Runner/
  2. Configure image_picker for iOS, see https://pub.dev/packages/image_picker.

Quick Usage

A complete tutorial how to use PictureUploadWidget can be found here: Tutorial

Summary:

  1. Apply the prerequisites mentioned above to your project
  2. Please refer to the example for usage: Quick-Link

Example

Link to example video: https://github.com/Rodiii/flutter_firebase_picture_uploader/raw/master/example.gif

Bugs/Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull Request are also welcome.

Comments
  • Not up to date with Firestore lastest 2021 version

    Not up to date with Firestore lastest 2021 version

    Hi, thanks for these nice features I gave a shot to your sample app to check if library was still up to date and i noticed it cannot work with new flutter project as in library, dependencies cannot resolve with : firebase_core: ^0.7.0 firebase_storage: "^7.0.0" firebase_auth: ^0.20.0+1

    By Dowloading your library and testing it with new firebase lib, i see it is ok.

    Can you please update your dependencies? Thanks again

    opened by davemg3 3
  • (ios)App closed when click upload button twice.

    (ios)App closed when click upload button twice.

    First of all, thank you for making a good package.

    We are testing it to use it, but there is no problem with Android, but there is a phenomenon that the app is forced to shut down when clicking the second button on iOS.

    It happens regardless of whether you actually uploaded the photo or not.

    I am attaching

    https://user-images.githubusercontent.com/46374669/102568353-a81d7e80-4126-11eb-89a9-d5eb089d5f85.mov

    file.

    Please check.

    Thank you.

    opened by kode-soar 3
  • FirebaseCoreInternal.h' file not found Error happened.

    FirebaseCoreInternal.h' file not found Error happened.

    /Users/****/****/ios/Pods/FirebaseStorage/FirebaseStorage/Sources/FIRStorageReference.m:34:9: fatal error: 'FirebaseCore/Sources/Private/FirebaseCoreInternal.h' file not found
    #import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
    

    I used this package in the app I'm making, and the error above appeared. Just in case, I tried to build example's code in the repository, but the same error occurred. How can we solve this?

    opened by kode-soar 2
  • PictureUploadWidget is constant

    PictureUploadWidget is constant

    Can we make PictureUploadWidget.settings not be a constant ? This way an app can dynamically set upload directories. For example, different users may have different non-constant profile paths.

    opened by 4mitabh 2
  • Outdated

    Outdated

    Because every version of firebase_picture_uploader depends on firebase_storage ^3.1.5 and firefly depends on firebase_storage ^4.0.0, firebase_picture_uploader is forbidden.

    opened by ghost 2
  • Dynamic radius to make an image circular shape.

    Dynamic radius to make an image circular shape.

    Hye rodiii your good work, you were using a static value for the radius in PictureUploadButtonStyle, I do little changes to make it dynamic that's easy for circular shape of PictureUploadButtonStyle.

    opened by mudi256 1
  • Compatibility with flutter null safety libraries using mainly rxdart ^0.26.0

    Compatibility with flutter null safety libraries using mainly rxdart ^0.26.0

    Finally following dependencies has been updated by their owners : cached_network_image: ^3.0.0 which depends on flutter_cache_manager: ^3.0.0 which depends on => rxdart ^0.26.0

    So could you please give us an update?

    Thank you @Rodiii

    opened by davemg3 1
  • firebase_picture_uploader need to be updated with image_picker  ^0.7.2+1

    firebase_picture_uploader need to be updated with image_picker ^0.7.2+1

    firebase_picture_uploader ^1.2.1 requires image_picker 0.6.7+22 but currently image_picker has been updated to ^0.7.2+1 so as to be compatible now with flutter_plugin_android_lifecycle: ^2.0.0.

    Due to major ugrade recently on Flutter, could you please upgrade your package?

    Thank you @Rodiii

    opened by davemg3 1
  • loading when uploading

    loading when uploading

    why i see loading when choosing an image and then crop and right after i check it its load for 1 seconds even if my internet is so fast? is there a timeout on the plugin? thank you so much for this great plugin also!

    opened by glennmichaelmejias 1
  • How to fill the empty space with buttons?

    How to fill the empty space with buttons?

    Heya, thank you for making this package.

    Any ideas on how I would be able to fill the empty space with upload buttons which get replaced with the photos once selected?

    Like this for example. Thank you

    example

    opened by Jacko120 1
  • Add support for buckets

    Add support for buckets

    As such, the plugin uses the default Firestore instance. Users would want to specify the bucket name instead of having to implement own upload and download methods. FirebaseStorage _storage = bucket==null?Firestore.instance:Firestore(storageBucket:bucket)

    opened by dixyantar 1
  • How to retrieve the firebase url of files after upload ?

    How to retrieve the firebase url of files after upload ?

    Hi there,

    I found a way to get the name and fullpath of uploaded files, but I'm still searching for retrieving the url of those files.

    How can I get the getDownloadURL() value ?

    Thanks a lot

    opened by aasmoth 3
  • How to populate from firestore

    How to populate from firestore

    How would you go about populating List _profilePictures = []; with ones stored in firebase already so that when it is loaded previous images are already displayed and ready to be removed too?

    opened by Maxmontgelas 9
Flutter plugin for selecting images from the Android and iOS image library, taking new pictures with the camera, and edit them before using such as rotation, cropping, adding sticker/text/filters.

advance_image_picker Flutter plugin for selecting multiple images from the Android and iOS image library, taking new pictures with the camera, and edi

Weta Vietnam 91 Dec 19, 2022
Download files from Firebase Storage with Flutter. List all images, videos, or other files from Firebase and download them.

Flutter Tutorial - Download Files From Firebase Storage Download files from Firebase Storage with Flutter. List all images, videos, or other files fro

Johannes Milke 28 Dec 4, 2022
Flutter Control is complex library to maintain App and State management. Library merges multiple functionality under one hood. This approach helps to tidily bound separated logic into complex solution.

Flutter Control is complex library to maintain App and State management. Library merges multiple functionality under one hood. This approach helps to

Roman Hornak 23 Feb 23, 2022
An app to pick, upload and display images from camera and gallery with size and extension constraints.

image_uploader A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

Ehmad Saeed⚡ 4 Mar 7, 2022
Widget for selecting between ThemeMode.dark and ThemeMode.light

ThemeModeSelector Widget I am currently working with the concept of Theme's in Flutter and I wanted to build a widget which would allow me to switch b

null 10 Oct 26, 2022
This Flutter package provides a Search Widget for selecting an option from a data list

Search Widget This Flutter package provides a Search Widget for selecting an option from a data list. Provides filtering of items based on the search

Ayush P Gupta 194 Oct 31, 2022
camilo velandia 69 Dec 30, 2022
Flutter frontend for downloading free album and playlists (based on a YouTube URL) and uploading them to a Plex server.

Flutter frontend for downloading free album and playlists (based on a YouTube URL) and uploading them to a Plex server. (The project is currently in progress. There are some additional features and ideas I want to implement.)

null 1 Jan 9, 2022
In this repo you will see how to pick images from the image library and also, see how to store the selected images on Firebase.

flutterimageapp Flutter Tutorial - Upload Images using Firebase Storage. Flutter Tutorial - Upload Images using Firebase Storage Video series can be w

Whatsupcoders 60 Nov 4, 2022
Call Kit is a prebuilt feature-rich call component, which enables you to build one-on-one and group voice/video calls into your app with only a few lines of code.

Call Kit (ZegoUIKitPrebuiltCall) Call Kit is a prebuilt feature-rich call component, which enables you to build one-on-one and group voice/video calls

ZEGOCLOUD 9 Dec 26, 2022
A widget based on Flutter's new Interactive Viewer that makes picture pinch zoom, and return to its initial size and position when released.

pinch_zoom A widget based on Flutter's new Interactive Viewer that makes picture pinch zoom, and return to its initial size and position when released

Teun Kortekaas 36 Dec 30, 2022
🚀 A simple & beautiful mobile tool for pictures uploading built by flutter

Flutter-PicGo 图片上传+管理新体验 应用概述 Flutter-PicGo: 一个用于快速上传图片并获取图片URL链接的手机版工具 Flutter-PicGo 本体支持如下图床: GitHub [v1.0+] SM.MS [v1.1+] Gitee [v1.2+] 七牛云 [v1.3+]

PicGo 320 Jan 5, 2023
This is a simple open source project where you can easily contribute by uploading algorithms that are not specified in the list.

Support this project by giving it a thumbs up! AlgoBook A new Flutter application for algorithms. This app is mainly to refer to the algorithms that a

Gloria Thomas 18 Jul 23, 2022
Stories like in Instagram, each story can include multiple images and videos. Package supports video, titles, preliminary caching.

flutter_instagram_stories A Flutter package for displaying stories just like Whatsapp & Instagram. Built-in groups (multiple stories with one icon), c

Alex Awaik 125 Dec 9, 2022
A library that helps you have multiple snackbars as a column

multi_snackbar A set of commands that helps you display more than one snackbar at the same time. Getting Started Make a list of widgets: var widgets =

Armin 1 Dec 23, 2021
Memebaaz is a video/images sharing app, Anyone can share short videos and images through app, the media will go through admin's approval.

MemeBaaz - Memes & Short Videos App Memebaaz is a Video/images Sharing App, Anyone can share short videos and images through app, the media will go th

Rakesh K. 18 Nov 14, 2022
This is a flutter plugin to detect edges in a live camera, take the picture of detected edges object, crop it, and save.

edge_detection A flutter plugin to detect edges of objects, scan paper, detect corners, detect rectangles. It allows cropping of the detected object i

Sawan Kumar Bundelkhandi 180 Dec 28, 2022
Automatically generate profile picture with random first name and background color. But you can still provide pictures if you have them. As the default color, based on the name of the first letter. :fire: :fire: :fire:

FLUTTER PROFILE PICTURE Automatically generate profile picture with random first name and background color. But you can still provide pictures if you

Aditya Dharmawan Saputra 10 Dec 20, 2022
An Android app that allows you to scan Japanese words from a picture and search for its meaning from a dictionary.

Jisho Lens is an app that allows you to scan Japanese words from a picture and search for its meaning from a dictionary. In a nutshell, think of it as

elianiva 12 Sep 22, 2022