Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use it #14

Open
aloklearning opened this issue Feb 26, 2019 · 2 comments
Open

How to use it #14

aloklearning opened this issue Feb 26, 2019 · 2 comments

Comments

@aloklearning
Copy link

aloklearning commented Feb 26, 2019

I want to use it in my flutter project. I know how to import it, but the main question is that if I have widget which has an image in it, I want that to be shown in the view, but don't know how to implement it. I just want the view same the horizontal view of the example. If you could show me the code of your example, I will get it somehow. But right now I'm clueless on how to use it in my project. Any help would be appreciated.

@ariedov
Copy link
Owner

ariedov commented Feb 26, 2019

Here you can find an example for vertical/horizontal lists:
https://github.com/ariedov/flutter_snaplist/tree/master/example

You could share some more detail about your particular case and I'll try to help.

@aloklearning
Copy link
Author

aloklearning commented Feb 27, 2019

Hey, thanks for the input. I have noticed one thing, the link which you have provided makes the ordinary horizontal listview like the gallery, but I need a catch that how to make the slider look like the one in the main repo example. You can compare the two from the link you have provided and the example which is there in the main repo. The image in the middle is more protruding and in the example which you have provided has the image which is in the same aura of the other images. I want the current image to come out like in the example otherwise I can use the same horizontal listview. Thanks for all the help, but I hope my words will make a little sense to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants