Flutter Tutorial - Build A Simple Image Slider Carousel | Flutter Carousel Slider

Ғылым және технология

Build an Image Slider Carousel in Flutter with indicator and dots, and add to the image slideshow an autoplay animation.
Click here to Subscribe to Johannes Milke: kzread.info...
👉 12 Week Flutter Training | heyflutter.com
👉 Flutter Masterclass Courses | heyflutter.com/masterclass
Source Code | github.com/JohannesMilke/imag...
My Courses | heyflutter.com
Follow Newsletter | johannesmilke.com/#/newsletter
SUBSCRIBE HERE
bit.ly/JohannesMilke
SUPPORT & SPONSOR ME
github.com/sponsors/JohannesM...
RESOURCES
Page Transition Animation Tutorial: • Flutter Tutorial - Pag...
Scroll To Index In ListView Tutorial: • Flutter Tutorial - Scr...
Simple Scrollbar Tutorial: • Flutter Tutorial - Cre...
Expandable ListView Tutorial: • Flutter Tutorial - Exp...
Hide AppBar On Scroll Tutorial: • Flutter Tutorial - How...
Hide Bottom On Scroll Tutorial: • Flutter Tutorial - How...
Deep Dive SliverAppBar Tutorial: • Flutter Tutorial - Sli...
Show/Hide StatusBar Tutorial: • Flutter Tutorial - Sho...
Slivers & Sticky Headers Tutorial: • Flutter Tutorial - Sti...
Scroll To Top & End In ListView Tutorial: • Flutter Tutorial - Scr...
AppBar & Transparent AppBar Tutorial: • Flutter Tutorial - App...
Bottom Navigation Bar Tutorial: • Flutter Tutorial - Bot...
Animated Bottom Navigation Bar Tutorial: • Flutter Tutorial - Ani...
Hidden Drawer UI Tutorial: • Flutter Tutorial - Hid...
Draggable Bottom Sheet Tutorial: • Flutter Tutorial - Dra...
Scrollable Sheet Tutorial: • Flutter Tutorial - Dra...
Animated List Tutorial: • Flutter Tutorial - Ani...
Navigation Drawer Tutorial: • Flutter Tutorial - Sid...
Fix Bottom Overflowed By Pixels Tutorial: • Flutter Tutorial - Fix...
Expansion Tile Tutorial: • Flutter Tutorial - Exp...
Create Invoice PDF Tutorial: www.youtube.com/watch?v=z_5xk...
TIMELINE
0:00 Introduction Image Slider Carousel
0:24 Create Image Slider Carousel
1:50 Set Autoplay In Image Slider Carousel
2:16 Set Space Between Slider Images
2:28 Show Only One Slider Image With Whole Width
2:53 Enlarge Center Slider Image
3:18 Disable Snapping In Image Slider Carousel
3:36 Disable Infinite Scrolling In Image Slider Carousel
3:49 Add Dots Indicator In Image Slider Carousel
6:27 Set Initial Page In Image Slider Carousel
6:46 Navigate To Any Image Slide With Manual Navigation Buttons
7:51 Navigate To Any Image Slide With Indicator & Dots
SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS
*********
SOCIAL MEDIA: Follow Us :-)
Twitter | / heyflutter_
Linkedin | / heyflutter
LEARN MORE
SOURCE CODE | github.com/JohannesMilke
ARTICLES | / johannesmilke
PLAYLISTS
All Flutter Videos | • Flutter Tutorial - Flu...
Widgets - Flutter | • Flutter Tutorial - Flu...
Plugins - Flutter | • Flutter Tutorial - Flu...
Animations - Flutter | • Flutter Tutorial - Tra...
Designs - Flutter | • Flutter Tutorial - Flu...
Firebase - Flutter | • Flutter Tutorial - Pag...
State Management - Flutter | • Flutter Tutorial - Riv...
CREDITS
Copyright song "Corporate Technology" by scottholmesmusic.com
#Flutter #Tutorial #JohannesMilke
LIKE & SHARE & ACTIVATE THE BELL
Thanks For Watching :-)
bit.ly/JohannesMilke

Пікірлер: 161

  • @HeyFlutter
    @HeyFlutter2 жыл бұрын

    This might help you :) 👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com Source Code: github.com/JohannesMilke/image_sliders_example Page Transition Animation Tutorial: kzread.info/dash/bejne/kYZnp8Gan8mcacY.html Scroll To Index In ListView Tutorial: kzread.info/dash/bejne/iIOKlLhpkdaskag.html Simple Scrollbar Tutorial: kzread.info/dash/bejne/p41qp6inlcKxm7A.html Expandable ListView Tutorial: kzread.info/dash/bejne/hJmJw8GQo5uro7w.html Hide AppBar On Scroll Tutorial: kzread.info/dash/bejne/qq6EutOKXbPLYso.html Hide Bottom On Scroll Tutorial: kzread.info/dash/bejne/oqaTqdFyeZSfg6Q.html Deep Dive SliverAppBar Tutorial: kzread.info/dash/bejne/pZNnw81mZNiaY6g.html Show/Hide StatusBar Tutorial: kzread.info/dash/bejne/pnqEo5OLZN3cg8o.html Slivers & Sticky Headers Tutorial: kzread.info/dash/bejne/g4qsxpKEj5qagMY.html Scroll To Top & End In ListView Tutorial: kzread.info/dash/bejne/iouaycGdYtfFeM4.html AppBar & Transparent AppBar Tutorial: kzread.info/dash/bejne/dHWnyqiEetPadso.html Bottom Navigation Bar Tutorial: kzread.info/dash/bejne/qqN_07Ojg6fAZpM.html Animated Bottom Navigation Bar Tutorial: kzread.info/dash/bejne/a2mEp6aFqKirpMo.html Hidden Drawer UI Tutorial: kzread.info/dash/bejne/qI5r2MaGn86faMo.html Draggable Bottom Sheet Tutorial: kzread.info/dash/bejne/c551s8mleq7Jkpc.html Scrollable Sheet Tutorial: kzread.info/dash/bejne/rKyYpKuwipfOfps.html Animated List Tutorial: kzread.info/dash/bejne/d2eHs7GqhdSefco.html Navigation Drawer Tutorial: kzread.info/dash/bejne/pqdt0JRqYdGeirg.html Fix Bottom Overflowed By Pixels Tutorial: kzread.info/dash/bejne/qKN1tNGPhsKrdKw.html Expansion Tile Tutorial: kzread.info/dash/bejne/hJmJw8GQo5uro7w.html Create Invoice PDF Tutorial: kzread.info/dash/bejne/rJNp2s2hdc7JZQ.html

  • @l.l.3609
    @l.l.36092 жыл бұрын

    It's incredible! For every design question I've got, you already brought up a perfect explanation. I am very grateful for your work!

  • @abbyhuh1460
    @abbyhuh14602 жыл бұрын

    Your videos are a life-saver! Thank you so much for putting it together 😄

  • @bhraman2277
    @bhraman22772 жыл бұрын

    very nice tutorial. I was looking for this option, and its working now. Thanks a ton.

  • @janammaharjan2699
    @janammaharjan26992 жыл бұрын

    Your Tutorials are always great. Thank you

  • @Indynakan0
    @Indynakan02 жыл бұрын

    Complete and clear turtorial. Thankyou so much for an mazing work.

  • @SalarAzad
    @SalarAzad2 жыл бұрын

    Very nice explanation, everything worked perfectly, saved me many hours of research, thank you!

  • @333tuberob
    @333tuberob2 жыл бұрын

    Superb education in UI - Thankyou, I love Image applications 👍

  • @mmokenape4730
    @mmokenape47302 жыл бұрын

    I have to say thanks again, I've been having so many issues with using this package and you made such a nice tutorial 😫🔥

  • @rauffer
    @rauffer2 жыл бұрын

    Thank you for this great tutorial!

  • @jerichokatende8151
    @jerichokatende81514 ай бұрын

    spot on , The exact explanation i wanted

  • @HeyFlutter

    @HeyFlutter

    4 ай бұрын

    Great, Thank you @jerichokatende8151!

  • @54gulnara
    @54gulnara4 ай бұрын

    I works, with your fantastic help I did it very fast and without problems.

  • @HeyFlutter

    @HeyFlutter

    4 ай бұрын

    Glad to hear that, Thank you @54gulnara! 😊

  • @aminmirzakuchaki8903
    @aminmirzakuchaki89032 жыл бұрын

    You are wonderful man, thank you so much

  • @meghasathish6367
    @meghasathish63673 ай бұрын

    your videos are amazing thank youuu

  • @HeyFlutter

    @HeyFlutter

    3 ай бұрын

    Glad to hear that, You are most welcome @meghasathish6367

  • @swayamshreemohantyvlogs8126
    @swayamshreemohantyvlogs81262 жыл бұрын

    Again, you save me man. Awesome.

  • @mdfasiuddinraihan2049
    @mdfasiuddinraihan20492 жыл бұрын

    Thank u so much ...... Got what I needed After struggling 1 hour... ...

  • @fadimhats5812
    @fadimhats58122 жыл бұрын

    Thanks dude, you're the best

  • @carolinedesouza7570
    @carolinedesouza75702 жыл бұрын

    Perfect video!! Thanks

  • @cavidanbagiri7837
    @cavidanbagiri78372 жыл бұрын

    Krasava Teacher. Thanks for everything. l bought 4 udemy course about Flutter and Getx, But your tutorials is the best.

  • @patrickschubert5571
    @patrickschubert55718 ай бұрын

    Thank you for this very nice video and showing this opportunity!

  • @HeyFlutter

    @HeyFlutter

    8 ай бұрын

    You’re most welcome, @patrickschubert5571! 🙂

  • @kausarfatima4371
    @kausarfatima4371 Жыл бұрын

    Incredible

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thanks, @kausarfatima4371! 🙂

  • @chuthi244
    @chuthi2442 жыл бұрын

    thank your video .

  • @haydarhilly6387
    @haydarhilly63872 жыл бұрын

    That's was very clear and helpful. Thanks a lot.

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    You're welcome, Haydar Hilly! 🙂

  • @pookystudio6702
    @pookystudio67022 жыл бұрын

    Super super amazing content man 💥💥👍

  • @user-vx8lh4xi9l
    @user-vx8lh4xi9l Жыл бұрын

    Thank you very much, this video is wonderful!!!

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    You are welcome, 亞當!

  • @mmokenape4730
    @mmokenape47302 жыл бұрын

    Thanks mate🔥

  • @nidhalmazhoud102
    @nidhalmazhoud1022 жыл бұрын

    good work again

  • @edilsonroque6691
    @edilsonroque66912 ай бұрын

    Thaaaank you so much my friend

  • @HeyFlutter

    @HeyFlutter

    Ай бұрын

    You are welcome, @edilsonroque6691!

  • @zurcnauj666
    @zurcnauj6666 ай бұрын

    best video ever!!!

  • @HeyFlutter

    @HeyFlutter

    6 ай бұрын

    Glad you liked it, @zurcnauj666 😀

  • @rashidtwumasi6321
    @rashidtwumasi63212 жыл бұрын

    I love your videos

  • @fardan511
    @fardan51110 ай бұрын

    Thanks alot 💗

  • @HeyFlutter

    @HeyFlutter

    10 ай бұрын

    You are welcome, @fardan511!

  • @bobby9568
    @bobby95682 жыл бұрын

    awesome!

  • @bluyetiinc7553
    @bluyetiinc75532 жыл бұрын

    Thank you.

  • @pravinshinde_9353
    @pravinshinde_9353 Жыл бұрын

    i was just thinking about adding this type of effect on the app i was working and your video pop up in my feed not going to lie you are god sent 😂😂

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Haha @pravinshinde_9353 Thank you so much

  • @yasminekara9112
    @yasminekara91122 жыл бұрын

    Thank youu 💪

  • @user-ks5rv8wz4w
    @user-ks5rv8wz4w2 жыл бұрын

    thank you

  • @marioguevara5954
    @marioguevara59548 ай бұрын

    thanks a lot

  • @HeyFlutter

    @HeyFlutter

    8 ай бұрын

    You’re most welcome, @marioguevara5954! 🙂

  • @chipekowasa6571
    @chipekowasa65712 жыл бұрын

    Your channel is my daily bread

  • @chipekowasa6571

    @chipekowasa6571

    2 жыл бұрын

    @@HeyFlutter Awesome, looking forward to more content as usual.

  • @JorgeTorres-mx7bx
    @JorgeTorres-mx7bx Жыл бұрын

    Likaso amigo, excelente video, me ayuda mucho para un proyecto que estoy realizando, muchas gracias.

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thanks, @JorgeTorres-mx7bx! 🙂

  • @baha908
    @baha9082 жыл бұрын

    Great video. I have a problem with this extension. I want to set height dynamicly based on child widget so each element can have different height but couldn't do it. Any idea how it could be done?

  • @rajagopisurineni4641
    @rajagopisurineni46412 жыл бұрын

    What can i say man, Thank you

  • @rajgopi4645

    @rajgopi4645

    2 жыл бұрын

    I’ve one question on this, how can I make this continuously flow(like marquee text), is there any another widget we have in flutter or can we customise Carousal builder? Thanks in advance

  • @md.ruhulamin7963
    @md.ruhulamin79632 жыл бұрын

    Thank you sir for this useful tutorial. Is it possible to create this Slider Carousel by using camera capture image?

  • @murshidahamed8317
    @murshidahamed83172 жыл бұрын

    Sir your explanation are very good and easy to understand. Can you please add video on vertical tab bar view . specially how to use at the middle of the page i mean after 2 or 3 widget. Thank you.

  • @murshidahamed8317

    @murshidahamed8317

    2 жыл бұрын

    @@HeyFlutter sure sir i am struck on that for 3 days 😞 any way thank you sir...

  • @ahmadprogrammer136
    @ahmadprogrammer136 Жыл бұрын

    Thank you sir fir this helpful tutorial Can you tell me how to make the image slider at the top of screen after App bar directly?

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thanks for the idea @ahmadprogrammer136 😀, i have added it in my list of future videos

  • @gandharvathite6181
    @gandharvathite61812 жыл бұрын

    Hello, I have a doubt, can we implement multiple image sliders on a same page? What if I use a scrollable view and display a set of multiple image sliders. Will I be able to do that? Waiting for your solution!

  • @chintusharma1
    @chintusharma16 ай бұрын

    In the thumnail the images are overriding over each other.But In the video they are not can you make them slide over each other as in thumnail

  • @HeyFlutter

    @HeyFlutter

    6 ай бұрын

    Thanks for your feedback, @chintusharma1! 🙂

  • @subratpatro1570
    @subratpatro15702 жыл бұрын

    hello mike , iam trying to load images from my assets how to do that ?

  • @felipegomes4894
    @felipegomes4894 Жыл бұрын

    You are the best!!

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thank you, Felipe Gomes! 🙂

  • @adityahiranwale1279
    @adityahiranwale12792 жыл бұрын

    Hello, Amazing video and very nicely done, Can you please tell me how to tap and open a particular image in the carousel and zoom in on it like the way we can do in amazon apps product carrousel.

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank You Aditya Hiranwale! Follow this link: stackoverflow.com/questions/43651708/how-do-i-pan-and-zoom-an-image I hope you will get your answer 🙂

  • @casparbaumeister8614
    @casparbaumeister8614 Жыл бұрын

    Thank you so much for all your content! In your thumbnail the previous and next slider items are behind the center slide. Can you explain how to do that in Flutter?

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thank You Caspar Baumeister! Follow this link: medium.com/flutter-community/how-to-create-card-carousel-in-flutter-979bc8ecf19 I hope you will get your answer 🙂

  • @maverickwolf_

    @maverickwolf_

    Жыл бұрын

    @@HeyFlutter I went through the link you posted, that does not explain how to achieve the stack like look where the items are behind the central page

  • @yusufnadaroglu4108

    @yusufnadaroglu4108

    Жыл бұрын

    @@maverickwolf_ Did you find any answer?

  • @twatchery
    @twatchery2 жыл бұрын

    Hey thanks for the tutorial! For some reason, everytime I rebuild the carousel, it doesn't display images from index 0 and sometimes starts at 1 or 2. The state is being preserved even thought I'm creating a new carousel object. Any help? Thanks!

  • @twatchery

    @twatchery

    2 жыл бұрын

    @@HeyFlutter Thanks for the reply! I have done so, and narrowed down the problem to itembuilder, where the index doesn't start from 0 when I create a new CarouselSlider widget. Any help? Thanks!

  • @amir_adamov
    @amir_adamov2 жыл бұрын

    is there any chanse to fit image till the borders of the screen?

  • @rick1901
    @rick19012 жыл бұрын

    3:37 I didn't want infiniteScroll so I set it to false, but how do you align the carousel to the left of the screen because I can't figure out how to remove the whitespace on the left that remains

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank You Appelpeer15! Follow this link: pub.dev/packages/carousel_slider I hope you will get your answer 🙂

  • @iqraQazmi078
    @iqraQazmi0786 ай бұрын

    i want smooth page indicator like as shown in your thumbnail of this video in which active dots should be expanded and filled or inactive dots with stroke color. How to code for this.

  • @HeyFlutter

    @HeyFlutter

    6 ай бұрын

    Thanks for the idea @iqraQazmi078 😀, i have added it in my list of future videos

  • @ahmedhelal9151
    @ahmedhelal91512 жыл бұрын

    Thank you sir, i have a question you add the dot indicator below the images , how can you add the dot indicator on the image ?

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank You Ahmed Helal! Follow this link: stackoverflow.com/questions/57613017/flutter-horizontal-list-view-dot-indicator I hope you will get your answer 🙂

  • @rodro_m_
    @rodro_m_ Жыл бұрын

    how to squeeze the slider like the thumbnail? I mean side images come behind the center image

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Hey 😊, @rodro_m_! Check out this video: kzread.info/dash/bejne/p3ydtrFqlMnQhaw.html It contains what you are specifically looking for.

  • @nikhilkumarjamwal5322
    @nikhilkumarjamwal5322 Жыл бұрын

    Can you make a flutter video on carousel auto image slider with onTap() effect. When tap on image open that image page(can be new window etc.).

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thanks for the idea, @nikhilkumarjamwal5322! 🙂 I have added it to my list of ideas for future videos!

  • @emmanueljoseph2687
    @emmanueljoseph2687 Жыл бұрын

    Thank you very much for the quality lessons. I have a question: Please, how can I change the background color in carousel slider?

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Hey, Emmanuel Joseph! Check out this solution: stackoverflow.com/a/61116773 I hope it may help you 😊

  • @emmanueljoseph2687

    @emmanueljoseph2687

    Жыл бұрын

    @@HeyFlutter Thanks a lot.

  • @emmanueljoseph2687

    @emmanueljoseph2687

    Жыл бұрын

    @@HeyFlutter Thanks a lot.

  • @narayanpaswan6558
    @narayanpaswan6558 Жыл бұрын

    sir can i use fade in and fade out effect in this animation.Please reply as soon as possible.

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thank you, Narayan Paswan! 🙂. Yes but you will have to make it custom.

  • @funandgameswithzayn
    @funandgameswithzayn Жыл бұрын

    Hi there! I liked you videos those a are very helpful. I have a question. How i can customize viewportfraction. Because i want to show only left image as next image in app not the both next and prev image. Please let me know

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thank You Zain's Gaming! Follow this link: stackoverflow.com/questions/55317171/change-viewportfraction-dynamically-in-pagecontroller I hope you will get your answer 🙂

  • @funandgameswithzayn

    @funandgameswithzayn

    Жыл бұрын

    @@HeyFlutter thankyou for your reply as for now i want to ask that currently if we use carousal slider with multiple pictures on screen it shows us two pictures but when we slide it snaps both pictures and show us two new pictures but i want it to slide only one picture even if it is show multiple pictures on screen like move one picture at a time . Did you get my question?

  • @boredUser69
    @boredUser692 жыл бұрын

    Hi Johannes. I followed your tutorial. It worked fine but the dots don't update when I slide the images. Do you know what is wrong? I tried to download your source code too but I couldn't, the button to confirm e-mail isn't clickable. Help please

  • @boredUser69

    @boredUser69

    2 жыл бұрын

    @@HeyFlutter Ok. I'll do that again. Thanks for reply 😉

  • @AbirHasnat95
    @AbirHasnat952 жыл бұрын

    I requested for source code, but 'Confirm Your Subscription' and 'Confirm Your Email' doesn't work.

  • @humanheart565
    @humanheart5652 жыл бұрын

    Hello i create image slider for selling products from different seller So if click on any image to show more details about products its taking to slider screen fine.. the problem is if press back and click on another image from another seller the error shows controller doest match the property tab3 because length i put 3 for single seller so the slider can show only 3 images.. but for same time if come back and tap on another seller's images so error that tab 3 doesn't match please tell

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Hello, Human Heart! Follow this link: pub.dev/packages/carousel_slider, I hope it will solve your problem. Thank You 🙂

  • @sepehramini6904
    @sepehramini690426 күн бұрын

    hi i am trying to make the slides to overlap, is it possible with this package?

  • @HeyFlutter

    @HeyFlutter

    24 күн бұрын

    Thank You @sepehramini6904! Follow this link: stackoverflow.com/questions/76637705/make-an-overlay-widget-in-flutter-to-slide-in-and-out-from-top-of-the-screen I hope you will get your answer 🙂

  • @danielogunsola9389
    @danielogunsola93892 жыл бұрын

    I wish this could take a callback so I can run a function once the slide happens. Or you have any ideas on how to do this?

  • @danielogunsola9389

    @danielogunsola9389

    2 жыл бұрын

    @@HeyFlutter I want a callback to be executed once each image scrolls. My plan is to have a container change color each time an image snaps to the center of the carousel

  • @congtoannguyen1940
    @congtoannguyen19402 жыл бұрын

    Thank you for answering my previous question, I have one more I want to ask. Instead of using dot, can I use picture of the same product and pressing it will display the image like on amazon app

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank you, Cong Toan Nguyen! 🙂. Yes you can.

  • @congtoannguyen1940

    @congtoannguyen1940

    2 жыл бұрын

    @@HeyFlutter How can I do it, I haven't figure how to do it

  • @StarBattle08
    @StarBattle082 жыл бұрын

    Is there a way to make the image into fullscreen mode when we click them?

  • @shashwat_dubey_

    @shashwat_dubey_

    2 жыл бұрын

    wrap the image in an on tap function. on tapping, navigate to a different screen which displays the same image in full.

  • @ghulammurtaza7959
    @ghulammurtaza7959 Жыл бұрын

    which macbook you are using for flutter development ?

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thank you, Ghulam Murtaza! 🙂. I am using macbook Pro.

  • @ai-bloggers
    @ai-bloggers Жыл бұрын

    Hello. Please make a lesson on how to make a link to each picture. Thank you.

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thanks for the idea, Разработка мобильных приложений! 🙂 I have added it to my list of ideas for future videos!

  • @JohnLiuFromHK
    @JohnLiuFromHK2 жыл бұрын

    please help, when I tried to click the dot the second time, there is an error saying "Null check operator used on a null value". I can't find the reason ;(

  • @JohnLiuFromHK

    @JohnLiuFromHK

    2 жыл бұрын

    @@HeyFlutter thanks, i think its the hot reload, it fixes the issue. Lol

  • @sarathrkrishnan6610
    @sarathrkrishnan66102 жыл бұрын

    If we give autoplay true in this project. Will the smooth indicator work with autoplay?

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank You Sarath R Krishnan! Follow this link: pub.dev/packages/carousel_slider I hope you will get your answer 🙂

  • @vlsnsatyas
    @vlsnsatyas2 жыл бұрын

    how to make it to move to next image on tap or touch of current

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank You Satyanarayana kvl! Follow this link: pub.dev/packages/carousel_slider I hope you will get your answer 🙂

  • @matheusfigueredo7543
    @matheusfigueredo75432 жыл бұрын

    On desktop i cant drag the mouse to chage images, but if i set autoPlay to true the image slide normally, any idea how can i fix this? On mobile everything works perfect

  • @matheusfigueredo7543

    @matheusfigueredo7543

    2 жыл бұрын

    My code: class _ProjectCarouselImagesState extends State { double currePosition = 0; CarouselController carouselController = CarouselController(); @override Widget build(BuildContext context) { return Container( constraints: BoxConstraints( maxWidth: widget.isMobile ? 450 : 650, maxHeight: widget.isMobile ? 306 : 442, ), width: widget.maxWidth, height: widget.maxWidth * 0.68, decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.circular(6), ), child: LayoutBuilder( builder: (context, constraints) { return Column( children: [ SizedBox(height: constraints.maxHeight * 0.10), Container( width: constraints.maxWidth, height: constraints.maxHeight * 0.80, child: ScrollConfiguration( behavior: ScrollConfiguration.of(context).copyWith( dragDevices: { PointerDeviceKind.mouse, PointerDeviceKind.touch, }, ), child: CarouselSlider.builder( itemCount: widget.imagesList.length, carouselController: carouselController, options: CarouselOptions( enlargeCenterPage: true, enlargeStrategy: CenterPageEnlargeStrategy.height, pageSnapping: true, enableInfiniteScroll: false, initialPage: 0, scrollDirection: Axis.horizontal, onPageChanged: (index, reason) { setState(() { currePosition = index as double; }); }), itemBuilder: (context, index, realIndex) { return Container( margin: EdgeInsets.symmetric(horizontal: 12), child: Image.asset( widget.imagesList[index], fit: BoxFit.cover, ), ); }, ), ), ), Container( height: constraints.maxHeight * 0.10, width: constraints.maxWidth, alignment: Alignment.center, child: DotsIndicator( dotsCount: widget.imagesList.length, position: currePosition, ), ), ], ); }, ), ); } } i'm also using dots indicator, thats why i set this onPageChanged: (index, reason) { setState(() { currePosition = index as double; }); }),

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Hello, Matheus Figueredo! Follow this link: stackoverflow.com/questions/69232764/flutter-web-cannot-scroll-with-mouse-down-drag-flutter-2-5, I hope it will solve your problem. Thank You 🙂

  • @miguelsouza7438
    @miguelsouza74382 жыл бұрын

    Dude for really, it's a shame need to share with 8 friends to get access to source code OMG

  • @dwikyalfiantama9091
    @dwikyalfiantama90912 жыл бұрын

    how to navigate next screen every image, can you give tutorial ?

  • @dwikyalfiantama9091

    @dwikyalfiantama9091

    2 жыл бұрын

    @@HeyFlutter thanks, i need it to do my project at university. I will wait for the next video

  • @danielm3977
    @danielm39772 жыл бұрын

    The package has a big drawback. isn't null-safety.

  • @Bunny-rn7uh
    @Bunny-rn7uh2 жыл бұрын

    im trying to access source code but the button isn't working ! is this just a clickbait thing ? also one guy already raised the issue but you didn't resolved it yet

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thanks, Creative Bunny! 🙂Check out this: github.com/JohannesMilke/sponsorware#2-why-didnt-i-get-an-email-even-if-i-have-sent-already-a-request-on-your-website

  • @Theomniscientmedia
    @TheomniscientmediaАй бұрын

    Cons: It does not support even number of slides if you don't want a partial slide view.

  • @HeyFlutter

    @HeyFlutter

    Ай бұрын

    Thanks for your feedback, @Theomniscientmedia! 🙂

  • @DjVsal
    @DjVsal2 жыл бұрын

    what if i need to play video in slider?

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank you, Bishal Shrestha! 🙂 That can also be done easily instead of displaying image you can use video_player package for displaying videos

  • @maxdegreat566
    @maxdegreat5662 жыл бұрын

    Can this be vertical? Or does it have to be horizontal?

  • @maxdegreat566

    @maxdegreat566

    2 жыл бұрын

    I just saw it has s scroll direction in the pub.dev docs

  • @maxdegreat566

    @maxdegreat566

    2 жыл бұрын

    Great vid, i always check ur page before others 👍🏾

  • @VShari12
    @VShari122 жыл бұрын

    Lets say we ll have 20 imgs. Showing 20 dots is not a good option. How can i show just five and switch to the next one every 4th page?

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank You Vlad Hagiu! Follow this link: stackoverflow.com/questions/57613017/flutter-horizontal-list-view-dot-indicator I hope you will get your answer 🙂

  • @sanaishaq7306
    @sanaishaq73062 жыл бұрын

    Null safety error as soon as I add smooth_page-indicator.

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank You sana Ishaq! Follow this link: flutter.dev/docs/null-safety I hope you will get your answer 🙂

  • @cheems6559

    @cheems6559

    2 жыл бұрын

    Use hot restart....this will solve the problem

  • @sohampati9232
    @sohampati9232 Жыл бұрын

    anyone getting error: Undefined Name 'urlImage'?

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thank You Soham Pati! Follow this link: stackoverflow.com/questions/72520973/undefined-name-flutterabsolutepath I hope you will get your answer 🙂

  • @gauravvblogs4042
    @gauravvblogs40422 жыл бұрын

    plz sir github code your coding is dont understad

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank You Gaurav Vblogs!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware

  • @adriancabahug2331
    @adriancabahug23312 жыл бұрын

    How to add text at the center of the image ?

  • @adriancabahug2331

    @adriancabahug2331

    2 жыл бұрын

    @@HeyFlutter yea but i dont know how to implement that code to yours

  • @HeyFlutter

    @HeyFlutter

    2 жыл бұрын

    Thank You Adrian Cabahug! Follow this link: medium.com/flutterworld/flutter-text-over-image-bb045a129bae I hope you will get your answer 🙂

  • @yeonjin8
    @yeonjin8 Жыл бұрын

    My android studio says carousel slider is undefined 🥺

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thank you SilverRubyJane💜, make sure to follow the tutorial step by step 🙂

  • @letmeflutter6644
    @letmeflutter66442 жыл бұрын

    awxm tutorial

  • @muhammadafzal237
    @muhammadafzal2372 жыл бұрын

    Nice. This is working perfectly. But I am following your other video that tells how to make video player in flutter, that is not working, I got stucked to play videos from firebase database.

  • @kheireddineattala1281
    @kheireddineattala1281 Жыл бұрын

    This does not remotely have the right to be as good in as little time

  • @HeyFlutter

    @HeyFlutter

    Жыл бұрын

    Thank you, KHEIREDDINE ATTALA! 🙂

  • @PaulBrassington_flutter_expert
    @PaulBrassington_flutter_expert2 жыл бұрын

    A terrible mistake to deny Flutter developers your code, I've tried so many times but never works, put in email, github name but never works. Allow developers to your code and become more popular Johannes Milke

  • @PaulBrassington_flutter_expert

    @PaulBrassington_flutter_expert

    2 жыл бұрын

    @@HeyFlutter Your videos are excellent and explanations are good, the topics are superb, so please just put a link to Github where we can download the code. Please, please, please.

  • @Ange-PaterneDali
    @Ange-PaterneDaliАй бұрын

    thanks you a lot

  • @HeyFlutter

    @HeyFlutter

    Ай бұрын

    You’re most welcome, @Ange-PaterneDali! 🙂

Келесі