Skip to content

使用RectSwiperPaginationBuilder时无效 #71

@gzhongcheng

Description

@gzhongcheng

修改如下:
swiper_pagination.dart
第115行:

for (int i = 0; i < itemCount; ++i) {
      bool active = i == activeIndex;
      Size size = active ? this.activeSize : this.size;
      Color actColor = active ? activeColor : color;
      list.add(Container(
        width: size.width,
        height: size.height,
        color: actColor,
        key: Key("pagination_$i"),
        margin: EdgeInsets.all(space),
      ));
    }

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