mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: appbar theme
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -51,15 +51,12 @@ class _FavPanelState extends State<FavPanel> {
|
||||
top: Radius.circular(18),
|
||||
),
|
||||
),
|
||||
centerTitle: false,
|
||||
elevation: 0,
|
||||
leading: IconButton(
|
||||
tooltip: '关闭',
|
||||
onPressed: Get.back,
|
||||
icon: const Icon(Icons.close_outlined),
|
||||
),
|
||||
title: Text('添加到收藏夹',
|
||||
style: Theme.of(context).textTheme.titleMedium),
|
||||
title: Text('添加到收藏夹'),
|
||||
actions: [
|
||||
TextButton.icon(
|
||||
onPressed: () {
|
||||
|
||||
@@ -90,14 +90,11 @@ class _GroupPanelState extends State<GroupPanel> {
|
||||
top: Radius.circular(18),
|
||||
),
|
||||
),
|
||||
centerTitle: false,
|
||||
elevation: 0,
|
||||
leading: IconButton(
|
||||
tooltip: '关闭',
|
||||
onPressed: Get.back,
|
||||
icon: const Icon(Icons.close_outlined)),
|
||||
title: Text('设置关注分组',
|
||||
style: Theme.of(context).textTheme.titleMedium),
|
||||
title: Text('设置关注分组'),
|
||||
),
|
||||
Expanded(
|
||||
child: Material(
|
||||
|
||||
@@ -447,7 +447,6 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
: AppBar(
|
||||
backgroundColor:
|
||||
showStatusBarBackgroundColor ? null : Colors.black,
|
||||
elevation: 0,
|
||||
toolbarHeight: 0,
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarIconBrightness:
|
||||
@@ -835,7 +834,6 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
: AppBar(
|
||||
backgroundColor:
|
||||
showStatusBarBackgroundColor ? null : Colors.black,
|
||||
elevation: 0,
|
||||
toolbarHeight: 0,
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarIconBrightness:
|
||||
@@ -868,7 +866,6 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
: AppBar(
|
||||
backgroundColor:
|
||||
showStatusBarBackgroundColor ? null : Colors.black,
|
||||
elevation: 0,
|
||||
toolbarHeight: 0,
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarIconBrightness:
|
||||
@@ -933,8 +930,6 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
child: AppBar(
|
||||
primary: false,
|
||||
foregroundColor: Colors.white,
|
||||
elevation: 0,
|
||||
scrolledUnderElevation: 0,
|
||||
backgroundColor: Colors.transparent,
|
||||
actions: (videoDetailController.userInfo == null)
|
||||
? null
|
||||
|
||||
@@ -33,8 +33,6 @@ class ScrollAppBar extends StatelessWidget {
|
||||
padding: EdgeInsets.only(top: statusBarHeight),
|
||||
child: AppBar(
|
||||
primary: false,
|
||||
elevation: 0,
|
||||
scrolledUnderElevation: 0,
|
||||
centerTitle: true,
|
||||
title: TextButton(
|
||||
onPressed: () => callback(),
|
||||
|
||||
@@ -1339,12 +1339,8 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
return AppBar(
|
||||
backgroundColor: Colors.transparent,
|
||||
foregroundColor: Colors.white,
|
||||
elevation: 0,
|
||||
scrolledUnderElevation: 0,
|
||||
primary: false,
|
||||
centerTitle: false,
|
||||
automaticallyImplyLeading: false,
|
||||
titleSpacing: 10,
|
||||
title: Row(
|
||||
children: [
|
||||
SizedBox(
|
||||
|
||||
Reference in New Issue
Block a user