Skip to content

outer doesn't work with alignment. #36

@seu1902

Description

@seu1902

new Swiper(
itemBuilder: (BuildContext context, int index) {
return Image.network("http://via.placeholder.com/350x220");
},
itemCount: 5,
itemWidth: 300.0,
itemHeight: 220.0,
layout: SwiperLayout.STACK,
outer: true,
pagination: new SwiperPagination(
alignment: Alignment.topCenter,
),
),

if I didn't set outer = true, the alignment in pagination would always work; but as long as I set outer = true, the indicators would not be on the topCenter of the swiper any more.

Any suggestions?

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