Skip to content
Snippets Groups Projects
Commit dcd19537 authored by Florian Schindler's avatar Florian Schindler
Browse files

Update onboarding_view.dart

parent c8884df0
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,15 @@ class _OnboardingViewState extends State<OnboardingView> {
),
IconButton(
onPressed: () {
if(pageIndex == 4) {
Navigator.of(context).popUntil((route) => route.isFirst);
Navigator.pushReplacement(
context,
MaterialPageRoute(builder: (context) => const AppScaffold())
);
} else {
controller.nextPage(duration: const Duration(milliseconds: 300), curve: Curves.easeInOut);
}
},
padding: const EdgeInsets.symmetric(horizontal: 15.0),
icon: Row(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment