vanelizarov / flutter_stories

Flutter widget that brings stories mechanism to your apps
https://pub.dev/packages/flutter_stories
MIT License
34 stars 27 forks source link

Use with more then one story #12

Open BerkSpar opened 2 years ago

BerkSpar commented 2 years ago

I want to use a list of story like instagram but it's not work so good with PageView. Is there other way to implement it?

vanelizarov commented 2 years ago

Story is basically just wrapper around Stack with very simple UI inside of it. With proper setup it can be easily put inside other widgets. Remember that when you use PageView its direct child size must be finite. Maybe your implementation is a bit wrong or is not performant. Also, PageView is actually based on Scrollable with custom physics. So, you can e.g. implement your own physics.

If you're talking about Instagram's cube-flipping effect, I can't say in few words how to implement it, and this repo is definitely not the right place to discuss this theme 🙂