flutter_carousel_slider icon indicating copy to clipboard operation
flutter_carousel_slider copied to clipboard

Banner is not loading any image on release build, working fine with debug mode

Open manojsinghal2003 opened this issue 4 years ago • 5 comments

Hello,

I am getting some issue with the production release, banner is not loading it and showing the blank screen for production release, everything is working fine with the debug build. Can you please help me to resolve this issue.

below is the code: new Container( height: 220.0, margin: EdgeInsets.all(0), child: SafeArea( top: true, bottom: true, child: Positioned.fill( child: CarouselSlider( options: CarouselOptions( height: 210, autoPlay: true, aspectRatio: 2.0, viewportFraction: 1, autoPlayInterval: const Duration(seconds: 4), enlargeCenterPage: false,), items: _imageUrls.map((item) => Container( child: Center( child: Image.network(item, fit: BoxFit.fill, height: 218, width: this.width) ), )).toList(),) ), ),),

Thanks.

manojsinghal2003 avatar Dec 06 '20 14:12 manojsinghal2003

Any updates about this issue.

ikarimmagdy avatar Jun 05 '21 20:06 ikarimmagdy

me tooo

mostafasaadamin avatar Mar 17 '22 09:03 mostafasaadamin

I am also facing same issue. Is there any fix or work around to resolve this ?

devs4522 avatar Jul 21 '22 03:07 devs4522

Same as this? https://github.com/serenader2014/flutter_carousel_slider/issues/370

I also get this behavior with this plugin https://pub.dev/packages/card_swiper

thedeukalion avatar Aug 23 '22 17:08 thedeukalion

For anyone still having issues with this, for the moment this is a solution if you don't care about animation

Adding a manual PageView.builder and using this plugin: https://pub.dev/packages/preload_page_view

Solves the preload issue for me at least Perhaps something to look into for this plugin

thedeukalion avatar Aug 25 '22 14:08 thedeukalion