style(ui): 去掉进度条滑块圆点
圆点是别的播放器的常见元素,我们的设计里不需要。 进度条保持"细线 + 时间在两侧"的纯净形态。
This commit is contained in:
@@ -402,13 +402,10 @@ class _PlayerPageState extends BaseState<PlayerPage> {
|
||||
trackHeight: 0,
|
||||
activeTrackColor: Colors.transparent,
|
||||
inactiveTrackColor: Colors.transparent,
|
||||
thumbColor: const Color(0xFFB8D4D0),
|
||||
overlayColor: const Color(0x33B8D4D0),
|
||||
thumbColor: Colors.transparent,
|
||||
overlayColor: Colors.transparent,
|
||||
thumbShape: const RoundSliderThumbShape(
|
||||
enabledThumbRadius: 6,
|
||||
),
|
||||
overlayShape: const RoundSliderOverlayShape(
|
||||
overlayRadius: 14,
|
||||
enabledThumbRadius: 0,
|
||||
),
|
||||
),
|
||||
child: Slider(
|
||||
|
||||
Reference in New Issue
Block a user