Commit 165421d2 authored by Dio Maulana's avatar Dio Maulana

logout

parent 0a534c1c
......@@ -161,11 +161,18 @@ class BodyWIdget extends StatelessWidget {
width: AppMargin.m10,
),
Expanded(
child: GestureDetector(
// TODO: HAPUS SESSION
onTap: () {
Navigator.pushNamedAndRemoveUntil(
context, Routes.loginRoute, (route) => false);
},
child: CardSectionHome(
title: "Log out",
logo: Assets.logoutIcon,
),
),
),
],
),
),
......
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