Tencent / Tencent/tdesign-flutter
[TDStepper] 可否支持double类型
Open
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 182
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 88
Description
这个功能解决了什么问题
步进器 只支持 int类型的 数字
有些场景下 确实需要 double类型的数字
你建议的方案是什么
更改value类型为 double
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the TDStepper implementation and its current value handling, then inspect any existing TDStepper tests. Confirm the expected API behavior for fractional values and update coverage so the work is complete when TDStepper accepts and correctly handles double values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100