Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-01 15:17:42 +08:00
parent 5c28376210
commit dd5c2229b3
22 changed files with 182 additions and 177 deletions

View File

@@ -331,15 +331,15 @@ class _MemberPageState extends State<MemberPage> {
);
Widget _buildAppBar({bool isV = true}) {
final top = MediaQuery.paddingOf(context).top;
return DynamicSliverAppBar(
pinned: true,
primary: false,
automaticallyImplyLeading: false,
toolbarHeight: kToolbarHeight + MediaQuery.paddingOf(context).top,
toolbarHeight: kToolbarHeight + top,
flexibleSpace: _buildUserInfo(_userController.loadingState.value, isV),
callback: (value) {
_userController.offset =
(value - 56 - MediaQuery.paddingOf(context).top).toInt();
_userController.offset = (value - 56 - top).toInt();
listener();
},
);