From 50a59560afc5cbbafab8fbf774366c178c2b30a2 Mon Sep 17 00:00:00 2001 From: Kanani Nirav Date: Sat, 23 Mar 2024 11:34:21 +0900 Subject: [PATCH] [Modify] Fix logoUrl Not Available Error --- lib/screens/home.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/screens/home.dart b/lib/screens/home.dart index 2fba0f9..e32d798 100644 --- a/lib/screens/home.dart +++ b/lib/screens/home.dart @@ -90,6 +90,14 @@ class _HomeState extends State { width: 50, height: 50, fit: BoxFit.contain, + errorBuilder: (context, error, stackTrace) { + return Image.network( + 'https://fastly.picsum.photos/id/125/536/354.jpg?hmac=EYT3s6VXrAoggrr4fXsOIIcQ3Grc13fCmXkqcE2FusY', + width: 50, + height: 50, + fit: BoxFit.contain, + ); + }, ), title: Text(filteredChannels[index].name), onTap: () {