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 do I create a listview(pageView) to show the second card(Container) underneath the first card(Container)? #113

Open
bhanuka96 opened this issue Jul 31, 2019 · 2 comments

Comments

@bhanuka96
Copy link

I need to create a listview or pageView to show the second card(Container) underneath the first card(Container). Too long time google I couldn't find a solution. I tried Swiper plugin here. It's good but can't change my way.

flutter_ swiper Plugin problem

  1. The defaults behavior is to swipe the top widget to the down to see the next one, and the shadows of the below widgets are shown on the up. I want the reverse, swipe the top widget to up to see the next one and the shadow becomes in the bottom.

  2. the defaults 2 shadows widgets displayed. I need to change into 1. It is impossible

  3. Shadow size cannot change

                Expanded(
                    child: Swiper(
                        itemCount: 10,
                        itemWidth: MediaQuery.of(context).size.width,
                        itemHeight: 200.0,
                        viewportFraction: 0.8,
                        scale: 0.9,
                        layout: SwiperLayout.STACK,
                        scrollDirection: Axis.vertical,
                        itemBuilder: (BuildContext context, int index) {return Container(...);}));
    

The result of the way I tried
enter image description here

The way I want it

enter image description here

@lavanoped
Copy link

If you're in Colombo, I can help you out with this problem. Will you be able to come to Hatch - Fort?

@Ashar2shahid
Copy link

any update on this? stuck on this for a while

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

3 participants