Skip to content

change direction of stack widget #44

@mohamed6996

Description

@mohamed6996
new Swiper(
  itemBuilder: (BuildContext context, int index) {
    return new Image.network(
      "http://via.placeholder.com/288x188",
      fit: BoxFit.fill,
    );
  },
  itemCount: 10,
  itemWidth: 300.0,
  layout: SwiperLayout.STACK,
)

In the built-in Layout ( layout: SwiperLayout.STACK), the default behavior is to swipe the top widget to the right to see the next one, and the the shadows of the below widgets is shown on the left. i want the reverse, swipe the top widget to left to see the next one and the shadow becomes in the right.
how to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions