whenver i try to login in my app it shows login screen then goes to HomeScreen in flutter?

Issue auth_service.dart import ‘dart:convert’; import ‘package:flutter/material.dart’; import ‘package:http/http.dart’ as http; import ‘package:provider/provider.dart’; import ‘package:shared_preferences/shared_preferences.dart’; import ‘package:zomato_clone/common/widgets/bottom_bar.dart’; import ‘package:zomato_clone/constants/error_handling.dart’; import ‘package:zomato_clone/constants/global_variables.dart’; import ‘package:zomato_clone/constants/utils.dart’; import ‘package:zomato_clone/features/admin/screens/admin_screen.dart’; import ‘package:zomato_clone/models/user.dart’; import ‘package:zomato_clone/providers/user_provider.dart’; class AuthService { // sign up user void signUpUser({ required BuildContext context,

Continue reading