Questions tagged [carousel-slider]
36 questions
4
votes
1 answer
CarouselSlider start point flutter
Here is my code.
@override
Widget build(BuildContext context) {
return Container(
color: Colors.red,
padding: EdgeInsets.all(7),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children:…

seungbok3240
- 59
- 3
4
votes
1 answer
flutter InteractiveViewer with CarouselSlider very difficult to pinch zoom
I have a flutter app that show images with a CarouselSlider and InteractiveViewer so the user can pinch to zoom in and out. the problem is that it's very difficult to do this, normally the pinch movement make the CarouselSlider to slide between…

Rodrigo Gusso
- 87
- 6
3
votes
2 answers
My dot indicator don't update when slide a image inside a CarouselSlider in Flutter
As you guys read on the title isn't updating somehow. It just does when I do a hot reload and I don't want that. I'm expecting when slide a image to left or right with my finger the dot indicator have to follow. Pls help and thanks in advance. Here…

Sir_Catapimba
- 93
- 1
- 11
2
votes
0 answers
Flutter : Loading asset image
I've got a problem when I load some asset images in flutter.
In fact, I use my pictures in a carousel. When I load the images, there is a (very) small loading time where the image is white. That's not really a problem but when I scroll through the…

Akainn Z
- 51
- 5
2
votes
1 answer
Flutter - How to use Carousel Slider and SingleChildScrollView?
I have a Carousel Slider in my page which able to scroll horizontally. I also uses SingleChildScrollView to slide the whole page vertically. But the problem is, when I try to scroll the page (vertical), when my finger gets to scroll on the slider…

Jovan
- 21
- 1
- 2
1
vote
1 answer
Keep Carousel position between pages
I have built a Carousel with weather images and text which works fine. However, when I navigate to another page and then navigate back to my page with the carousel the carousel has reverted back to the first position. How can I keep the last…

Sean
- 13
- 2
1
vote
1 answer
Flutter: CarouselSlider/ExpandablePageView scrollable items with width larger than then phone screen width?
I want to use a widget like Carousel Slider or Expandable Page View (or any PageView builder working implementation) that has items/pages with width larger than the screen width. I want to be able to scroll left and right freely and switch page only…

GianlucaA
- 35
- 4
1
vote
0 answers
How can we navigate seperate screen using CarouselSlider flutter?
I'm using go router package for routing.And trying to open seperate pages with the id when clicking on the page
my function inside my homepage.dart
Widget buildImage(String urlImage, String title, int price, double padding,
int index, String…

Mohammed Malek
- 164
- 1
- 9
1
vote
1 answer
Flutter stop CarouselSlider scrolling when image is zoomed
in this reader widget i want to change the scrolling behavior so that if i'm zoomed in on an image and move arround the CarouselSlider dosen't slide to the next image unless i'm at the current image boundary.
I tried to change the scrollPhysics with…

Junn Sorran
- 317
- 2
- 4
- 12
1
vote
1 answer
Flutter Carousel Slider Assertion Error firstIndex == 0
I am using flutter carousel_slider 4.2.1 it works perfect but in 5 seconds there is a error message showing.
CarouselController carouselController = CarouselController();
return Container(
height: MediaQuery.of(context).size.height,
…

Hüseyin Sezen
- 56
- 9
1
vote
1 answer
Remove margin between carousel images
Why is there a vertical margin line between images in this Flutter carousel?
The line is flickering when I slide the carousel.
This bug happens on the device (Nokia 7 Plus) but not the emulator.
import…

Patrick
- 3,578
- 5
- 31
- 53
1
vote
0 answers
How i can set custom animation between slide in CarouselSlider flutter
I have created an image slider using CarouselSlider, I want to set animation when the page change but when the page change it will not reflect to the dot indicator
slider and dot position
here is the full code of my slider
final RxInt _current =…

Mayur Devmurari
- 54
- 7
1
vote
0 answers
Flutter carousel Slider for dynamic videos
I am trying to make application in which a gridview show videos from local storage folder, and clicking on any video open slider and play the video. By swiping left or right, play next or previous video, for this purpose
I am using Carousel Slider…

Mudasir Habib
- 704
- 7
- 14
1
vote
0 answers
flip_card controller flips wrong card when wrapped under carousel_slider
I have some cards (which can be flipped, I'm using flip_card for this). Now I want to show these cards using carousel_slider.
But if I use a FlipCardController to flip the cards (when wrapped under carousel_slider), it flips the wrong card (in my…

Shourya Shikhar
- 1,342
- 1
- 11
- 29
1
vote
3 answers
Flutter carousel_slider 4.0.0 error type 'Null' is not a subtype of type 'List' in type cast
I'm using my flutter (null safety version) app for carousel_slider 4.0.0 , slider worked but, I faced this error
type 'Null' is not a subtype of type 'List' in type cast
any solution for this?
my code here
import…

core114
- 5,155
- 16
- 92
- 189