fix(ui): 播放页顶部指示器在屏幕居中
AppBar 添加 centerTitle: true,指示器不再偏向左侧。
This commit is contained in:
@@ -193,6 +193,7 @@ class _PlayerPageState extends BaseState<PlayerPage> {
|
|||||||
icon: const Icon(Icons.keyboard_arrow_down, color: Colors.white70),
|
icon: const Icon(Icons.keyboard_arrow_down, color: Colors.white70),
|
||||||
onPressed: _closePage,
|
onPressed: _closePage,
|
||||||
),
|
),
|
||||||
|
centerTitle: true,
|
||||||
title: _buildPageIndicator(),
|
title: _buildPageIndicator(),
|
||||||
actions: [
|
actions: [
|
||||||
PopupMenuButton<String>(
|
PopupMenuButton<String>(
|
||||||
|
|||||||
Reference in New Issue
Block a user