mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 14:29:35 +00:00
123
This commit is contained in:
parent
178f3fbdb1
commit
634ffaed8c
27 changed files with 648 additions and 1012 deletions
|
|
@ -20,6 +20,11 @@ class PlayerPage extends HookConsumerWidget {
|
|||
final isVertical = size.height > size.width;
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
// 以下两项确保在滚动后背景色不变
|
||||
// elevation: 0 是保持 AppBar 不变的关键
|
||||
elevation: 0,
|
||||
// 设置 forceMaterialTransparency 防止滚动时的透明度变化
|
||||
forceMaterialTransparency: true,
|
||||
title: Text(currentBook.metadata.title ?? ''),
|
||||
leading: IconButton(
|
||||
iconSize: 30,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue