Commit c66d5981 authored by Dio Maulana's avatar Dio Maulana

login navigate to home

parent f02b3ea8
...@@ -158,6 +158,8 @@ class _BodyWidgetState extends State<BodyWidget> { ...@@ -158,6 +158,8 @@ class _BodyWidgetState extends State<BodyWidget> {
onTap: () { onTap: () {
if (buttonLoginActive) { if (buttonLoginActive) {
// TODO:dosomething here // TODO:dosomething here
Navigator.pushNamedAndRemoveUntil(
context, Routes.homeRoute, (route) => false);
} }
}, },
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment