Undefined class StorageReference when using Firebase Storage

后端 未结 3 1195
甜味超标
甜味超标 2020-12-02 02:43

i am trying to upload image, and the same process is working for my other app, but here it gives these errors, can you guy plz help?

Future getImage1() async          


        
3条回答
  •  天涯浪人
    2020-12-02 03:31

    Looks like you haven't added dependency in pubspec.yaml file or maybe you didn't imported package in your dart file. That's why you're getting error.

    Check the package site for example on how to use: https://pub.dev/packages/firebase_storage

提交回复
热议问题