diff --git a/images/9.jpg b/images/9.jpg new file mode 100644 index 0000000..cd2f785 Binary files /dev/null and b/images/9.jpg differ diff --git a/lib/screen/with_media_promo.dart b/lib/screen/with_media_promo.dart index c489138..b1db038 100644 --- a/lib/screen/with_media_promo.dart +++ b/lib/screen/with_media_promo.dart @@ -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(), + ); + } + }, + ), ], ), ),