r/FlutterDev • • Jul 25 '19

Example Cool little carousel widget I made in Flutter!

https://youtu.be/KmwWlDYMq2Q
162 Upvotes

19 comments sorted by

8

u/[deleted] Jul 25 '19

Awesome! Would you mind sharing the code?

15

u/[deleted] Jul 26 '19

Sure thing! Wanted to fix a bug I noticed after I posted the vid.

Heads up, there's probably a much better way to do this! I basically stack an invisible infinite scroll view on top of a custom multi child layout widget which updates the position and scale of the images.

https://gist.github.com/dnys1/52ecef595a66cd1bf88048e8d6138708

3

u/[deleted] Jul 26 '19

Thanks for sharing it takes a lot of confidence!

2

u/shinayser Jul 26 '19

Show us the code!

2

u/[deleted] Jul 26 '19

2

u/GickRick Jul 26 '19

Are you considering publishing this as a plugin also cuz it's awesome 💯

3

u/[deleted] Jul 27 '19

1

u/GickRick Jul 27 '19

Nice👌💯

2

u/shinayser Jul 26 '19

I want this as a plugin on pub.dev and I want it NOW!

3

u/[deleted] Jul 26 '19

I’ll see what I can do!

9

u/ryk0s Jul 26 '19

Entering the post I thought "Yet another boring carousel".

After watching the video "Wow, that's cool indeed!".

Great work!

1

u/BrawlStarMaster Jul 25 '19

Really good job!

1

u/jmar31 Jul 26 '19

You’re not kidding. That is very cool.

1

u/Throqaway Jul 26 '19

Wow this is awesome :)

1

u/GickRick Jul 26 '19

💯💪wow!!!.....makes my wings flutter

1

u/paalpe Jul 26 '19

Wow. COOL. You should make them fade or blur too. Just a litte bit.

1

u/zaylong Jul 27 '19

thats very smooth

1

u/tipertuba Jul 30 '19

Damn! Nice job!