mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 19:51:11 +08:00
@@ -246,4 +246,15 @@ class MemberController extends CommonDataController<SpaceData, SpaceData?>
|
||||
SmartDialog.showToast(res['msg']);
|
||||
}
|
||||
}
|
||||
|
||||
void onTapTab(int value) {
|
||||
if (tabController?.indexIsChanging == false &&
|
||||
key.currentState?.outerController.hasClients == true) {
|
||||
key.currentState!.outerController.animateTo(
|
||||
key.currentState!.outerController.offset,
|
||||
duration: const Duration(milliseconds: 500),
|
||||
curve: Curves.easeInOut,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user