播放器顶部添加状态栏#1990
Open
LiggMax wants to merge 4 commits into
Open
Conversation
- 播放器全屏时显示设备时间、网络状态信息
- 新增 BatteryStatusIcon 组件显示设备电池状态 - 新增 NetworkStatusIcon 组件显示网络连接状态 - 在播放器顶部状态栏集成时间、网络和电池状态显示 - 优化时钟更新逻辑使用 StreamController 管理
- 将电池状态图标的默认大小从 18 调整为 20 - 将播放器项目面板的水平内边距从 12 调整为 18
Owner
|
虽然总体UI/UX思路和B站是一致的,但是总觉得看上去有些奇怪:D 大小和间距的问题吗 |
Contributor
Author
是不是顶部的状态栏和标题栏间上下距大了些 |
- 将标题栏按钮从IconButton替换为Tooltip和InkWell组件减少IconButton按钮自带的内边距
Contributor
Author
Owner
|
还是很奇怪,稍后我来测试一下 此外感觉这个功能只在移动端有意义,在桌面端缺乏价值 |
Contributor
Author
的确在大多数桌面端流媒体平台上没有显示这些信息 |
|
刚想自己添加一个发现有大佬已经做了= ̄ω ̄=,个人以为移动端显示还是挺有意义的 |
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.




播放器全屏时在顶部显示设备时间、网络状态图标、电池状态图标(android、ios)