Repository navigation
fix(TSlider): 修复滑块端点对齐与受限尺寸交互 - #1212
Merged
RSS1102 merged 10 commits intoOct 27, 2026
Merged
Conversation
- 胶囊坐标轨道收进 thumb 行程并关闭 Material 二次内缩,连续与离散取值共用同一映射,消除两端「数值在变、thumb 不动」的死区 - thumb 与胶囊四周留白一致,等于轨道高度与 thumb 直径差值的一半 - 示例页垂直滑块的数值与刻度改用真实 thumb 行程定位,不再与 thumb 错位 - TSliderVariant 说明改为中文表述
- 示例 Widget 不再自绘标题,改由 ExampleItem.desc 提供,与「组件类型」区块结构一致 - 保留 surface 卡片与原有 contentSpacing 配置 - demo 测试的 surface 定位改用滑块 key,并断言标题位于示例内容上方
runoob-coder
force-pushed
the
fix/slider-capsule-thumb-travel
branch
from
October 26, 2026 17:53
537867b to
d0869a6
Compare
…ign-flutter into fix/pr1212-ci-local
Contributor
Web DemoAPK 下载 |
6 of 16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🤔 这个 PR 的性质是?
🔗 相关 Issue
#755
原问题截图:
💡 需求背景和解决方案
问题与修复
运行截图(Flutter 3.32.0 Linux,经过精确 Golden 比较)
端点矩阵:覆盖水平、垂直,普通、胶囊及 0/100 两端。
边界矩阵:覆盖窄尺寸、RTL 和大厚度主题。
本地验证
📝 更新日志
fix(TSlider): 修复滑块端点、数值和刻度的位置不对齐。
fix(TSlider): 修复受限尺寸及布局变化时滑块拖动异常。
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单
type(<scope>?): 修改描述。示例:
fix(TBottomTabBar): 修复 iconText 模式底部溢出Slider Spec