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

[Swiper] TDSwiperPagination.dotsBar; 竖向时dotsBar样式仍然是横向展示 #11

Closed
weiWang513 opened this issue Dec 25, 2023 · 2 comments

Comments

@weiWang513
Copy link

tdesign-flutter 版本

0.1.1

重现链接

No response

重现步骤

No response

期望结果

竖向的dotsBar样式应该修改高度

list.add(Container(
    key: Key('pagination_$i'),
    margin: EdgeInsets.all(space),
    child: AnimatedContainer(
      duration:
          Duration(milliseconds: animationDuration ?? _kAminatedDuration),
      width: isActiviRectangle
          ? roundedRectangleWidth
          : (active ? activeSize : size),
      height: active ? activeSize : size,
// config.scrollDirection == Axis.vertical 在判定竖向时修改高度而不是宽度
      decoration: BoxDecoration(
          color: active ? activeColor : color,
          borderRadius: BorderRadius.circular(activeSize / 2)),
    ),
  ));

实际结果

No response

Flutter版本

No response

设备与机型信息

No response

系统版本

No response

补充说明

No response

Copy link
Contributor

👋 @weiWang513,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@Luozf12345
Copy link
Collaborator

0.1.2版本已修复

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