最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Flutter & Firebase - Image loading failure from Firebase Storage on Android test device - Stack Overflow

programmeradmin2浏览0评论

I'm developing a clothing management app for Android devices using Flutter. Text data related to clothes (material, color, season, imageUrl...) is stored in Firebase Database, and images are stored in Storage.

I've developed up to the point of loading text & image data from Firebase to show the digital wardrobe screen, and everything was working fine until the day before yesterday.

Current Issue:

Starting today, image data loading is suddenly failing. While I can access Firebase Database properly, I can't load image data stored in Storage. When I try to access it with the code below;

Widget _buildClothImage(cloth) {
    return cloth.imagePath != null
    ? Imagework(
        cloth.imagePath!,
        fit: BoxFit.cover,
    )
    : Container(
        color: Colors.grey[200],
        child: const Icon(Icons.image, size: 40),
    );
}

I got this error:

I/flutter (24492):

发布评论

评论列表(0)

  1. 暂无评论