This commit is contained in:
Developer
2026-03-31 03:48:14 +08:00
parent 62729615b7
commit 888363785b
26 changed files with 219 additions and 808 deletions

View File

@@ -161,30 +161,6 @@ class _SpGuidePageState extends State<SpGuidePage>
}
}
void _skipToEnd() {
if (_currentPage == 1) {
if (!_agreementAccepted) {
_showNeedAcceptAgreementDialog();
return;
}
}
if (_currentPage == 2) {
if (!_agreementAccepted) {
_showNeedAcceptAgreementDialog();
return;
}
}
if (_pageController.hasClients) {
_pageController.animateToPage(
_totalPages - 1,
duration: const Duration(milliseconds: 500),
curve: Curves.easeInOut,
);
}
}
void _showNeedAcceptAgreementDialog() {
showDialog(
context: context,