add media promo ke 9
This commit is contained in:
BIN
images/9.jpg
Normal file
BIN
images/9.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 319 KiB |
@@ -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(),
|
||||
);
|
||||
}
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user