@ -79,4 +79,9 @@ class AuthenticationViewModel with ChangeNotifier {
notifyListeners();
}
logout(){
sharedPref.clear();
@ -109,7 +109,10 @@ class SettingPage extends StatelessWidget {
),
],
onTap: (){},
onTap: (){
// AuthenticationViewModel.logout();
// Navigator.of(context).pushNamedAndRemoveUntil('/', ModalRoute.withName('/'));
},
SizedBox(height: MediaQuery.of(context).size.width*0.05,),
InkWell(