add media promo ke 9

This commit is contained in:
Hanan Askarim
2026-10-07 09:40:35 +07:00
parent 01581d32be
commit 0353a53fe5
2 changed files with 21 additions and 0 deletions

BIN
images/9.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 KiB

View File

@@ -316,6 +316,27 @@ class WithMediaPromo extends StatelessWidget {
}
},
),
Image.network(
'https://${Constant.baseSocket}/one-media/one-queue/slide-counter/9.jpg',
errorBuilder: (context, error, stackTrace) {
return Image.asset(
'images/9.jpg',
fit: BoxFit.fitWidth,
);
},
headers: {
'Access-Control-Allow-Origin': '*',
},
loadingBuilder: (context, child, loadingProgress) {
if (loadingProgress == null) {
return child;
} else {
return Center(
child: CircularProgressIndicator(),
);
}
},
),
],
),
),