:drunk: Media offline error builder

This commit is contained in:
2025-08-17 13:40:35 +08:00
parent 6f1f488490
commit c3925e81b5
2 changed files with 6 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

View File

@@ -51,9 +51,13 @@ class UniversalImage extends StatelessWidget {
); );
}, },
errorWidget: (context, url, error) { errorWidget: (context, url, error) {
return const Center( return Image.asset(
child: Icon(Icons.broken_image, color: Colors.white, size: 16), 'assets/images/media-offline.png',
fit: BoxFit.cover,
); );
// return const Center(
// child: Icon(Icons.broken_image, color: Colors.white, size: 16),
// );
}, },
), ),
], ],