Tencent / Tencent/tdesign-flutter
[TDBottomTabBar] 设置useSafeArea安全区域背景色与backgroundColor不一致
Open
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 182
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 88
Description
tdesign-flutter 版本
0.2.7
重现链接
No response
重现步骤/代码
期望结果
No response
实际结果
No response
Flutter版本
No response
设备与机型信息
No response
系统版本
No response
补充说明
目前可以通过在ThemeData设置scaffoldBackgroundColor,保持和backgroundColor一致,但存在一定局限性
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 at the TDBottomTabBar entry point and inspect how useSafeArea and backgroundColor are handled. Reproduce the reported mismatch using the linked screenshot as context, then verify that the safe-area background remains consistent with backgroundColor without relying on ThemeData.scaffoldBackgroundColor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- design, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100