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:
@@ -40,7 +40,7 @@ class _HomePageState extends State<HomePage>
|
||||
: Brightness.light,
|
||||
));
|
||||
return Scaffold(
|
||||
appBar: AppBar(toolbarHeight: 0, elevation: 0),
|
||||
appBar: AppBar(toolbarHeight: 0),
|
||||
body: Column(
|
||||
children: [
|
||||
if (!_homeController.useSideBar)
|
||||
|
||||
@@ -16,7 +16,6 @@ class HomeAppBar extends StatelessWidget {
|
||||
dynamic userInfo = userInfoCache.get('userInfoCache');
|
||||
return SliverAppBar(
|
||||
// forceElevated: true,
|
||||
scrolledUnderElevation: 0,
|
||||
toolbarHeight: MediaQuery.of(context).padding.top,
|
||||
expandedHeight: kToolbarHeight + MediaQuery.of(context).padding.top,
|
||||
automaticallyImplyLeading: false,
|
||||
@@ -29,7 +28,6 @@ class HomeAppBar extends StatelessWidget {
|
||||
background: Column(
|
||||
children: [
|
||||
AppBar(
|
||||
centerTitle: false,
|
||||
title: const Text(
|
||||
'PiLiPaLa',
|
||||
style: TextStyle(
|
||||
@@ -95,8 +93,6 @@ class HomeAppBar extends StatelessWidget {
|
||||
|
||||
const SizedBox(width: 10)
|
||||
],
|
||||
elevation: 0,
|
||||
scrolledUnderElevation: 0,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user