opt anim to top

opt refresh

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-23 22:37:57 +08:00
parent 0a9897f6a4
commit 81cfe3efe1
28 changed files with 154 additions and 43 deletions

View File

@@ -41,6 +41,7 @@ class _MemberSearchChildPageState extends State<MemberSearchChildPage>
onRefresh: _controller.onRefresh,
child: CustomScrollView(
controller: _controller.scrollController,
physics: const AlwaysScrollableScrollPhysics(),
slivers: [
SliverPadding(
padding: EdgeInsets.only(

View File

@@ -80,6 +80,15 @@ class _MemberSearchPageState extends State<MemberSearchPage> {
),
),
],
onTap: (index) {
if (!_controller.tabController.indexIsChanging) {
if (index == 0) {
_controller.arcCtr.animateToTop();
} else {
_controller.dynCtr.animateToTop();
}
}
},
),
Expanded(
child: tabBarView(