opt: appbar theme

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-21 17:08:52 +08:00
parent 37ddebca50
commit 5b2a4fa681
46 changed files with 51 additions and 248 deletions

View File

@@ -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)

View File

@@ -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,
),
],
),