Questions tagged [flutter-swiper]

21 questions
3
votes
1 answer

Flutter Swiper, Be on same page after poping from another screen

I am using Flutter Swiper Plugin to create a swiper. On each page of the swiper, I have Buttons which take me to another screen using Navigator.of(context).pushNamed('/routeToSecondPage'). The problem I am facing is that when I come back from that…
Anirudh Bagri
  • 2,346
  • 1
  • 21
  • 33
2
votes
1 answer

Flutter : how to show next index after complete a specific logic in Swiper, where GridView also set in Swiper?

I'm trying to make a word game. First of all, the index will be white. if user Click the correct answer then index will be to green color and go to next screen, also index will be white in next screen.. again if user click incorrect answer then…
Emma Scarlett
  • 47
  • 2
  • 9
2
votes
0 answers

How to attach flutter swiper to any scroll views

How to attach flutter swiper to any scroll views?I have horizontal swiper,i scroll down my ui and then i scroll back(up), as a rezult i get Exception 'ScrollController not attached to any scroll views'. What i should do to fix it.Could you help me? …
rommy
  • 185
  • 2
  • 9
1
vote
1 answer

How to create a slider which should be returned to starting position when user stop dragging and need to call method when it completes full in flutter

In flutter i tried with sliderTheme and slider widget but the it is working as a seek bar not as a draggable slider. Any idea or widgets would be helpful. Thanks in advance.
naveen_kc
  • 43
  • 4
1
vote
1 answer

edit pagination in flutter swiper

I want to make a custom pagination for swiper in flutter. Where i want to display 2 words in pagination rather then dots or fractions can anyone tell me a better way to do it as in my code i can't change the page on clicking on my custom…
lonewolf
  • 61
  • 6
1
vote
1 answer

How to make Arc ( Curve ) carousel ( ListVie,Row Widget ) in Flutter?

I would want to have a Carousel/Swiper/Row that elements( images / icons ) follow path of curve ( Arc ), I want to scroll the elements in curve path not in straight path , Please share if u have any idea . you can check the example in link below…
0
votes
1 answer

How can we achieve infinite slider/swiper like this in flutter?

Is there any library or plugin that has the feature to enable infinite scroll with a slider/swiper view like the one below? I have searched for similar sliders, but I haven't found any.
Radhabinod
  • 116
  • 1
  • 4
0
votes
1 answer

Flutter swiper package slider date

I want to create an appointment calendar. I want to show the days by swiping to the right in the form of a slider. I want to take the days as a list and show them on the screen in order. But as I have indicated in the screenshot, it always shows the…
avcismail
  • 31
  • 6
0
votes
1 answer

Flutter Card Swipe Animation with forward and reverse methode without a loop

can i implement my own card swip animation ? what i want is something similar to this package here. but the slides should shown from the top like so: (and without a loop) my code: final controller = SwiperController(); List _pages = [ …
ILii
  • 83
  • 3
  • 10
0
votes
0 answers

SingleChildScrollView and Swiper not working together. Any solution to this?

In my flutter project, I am creating a Swiper widget of images at the top portion of the screen. Along with that, I want the whole screen to be scrollable as there is content below the swiper and other widgets too. The problem is that if I use…
0
votes
1 answer

flutter_card_swipper external SwiperPagination

Is there a way to have the SwiperPagination as an external Widget outside of the Swiper() widget? Swiper( controller: _swiperController, itemCount: _getTopWikiList.length, pagination: SwiperPagination( margin: EdgeInsets.fromLTRB(0.0, 0.0,…
JoergP
  • 1,349
  • 2
  • 13
  • 28
0
votes
1 answer

get the image from the api and how to set the dynamic height of each image in flutter?

I get the image from the backend via the API, but flutter must set constraints in container, but the image height are not the same, what should I do? Flutter image problems: import 'package:cached_network_image/cached_network_image.dart'; import…
0
votes
1 answer

Flutter - MatrixGestureDetector is not working with flutter_swiper

I am using flutter_swiper to swipe images from a list a images. I want to use MatrixGestureDetector to move swiper containing images and perform zoom-in zoom-out to it. When i set the swiper layout to Default it works perfectly but when i change it…
KUNAL HIRANI
  • 641
  • 1
  • 7
  • 20
0
votes
1 answer

How to disable swiper button dynamically in flutter_swiper?

I am using flutter_swiper to swipe images. I have two swipers as you can see i want to disable those two swiper arrows dynamically how can i do that? I cant disable from start as i want to disable it when some condition is satisfied here is some…
0
votes
1 answer

Dart-How to toggle swiper on and off dynamically when the button is pressed?

I am using flutter_swiper to swipe images in my flutter application.I want to turn the swiper off when the button is pressed so, how can i do it in my existing code? Here is my code: class MyHomePage extends StatefulWidget { MyHomePage({Key key,…
1
2