DEV Community


Discussion on: Flutter - Firebase Google Sign-in Auth + SplashScreen using updated API

movingmelody profile image
Sumanth Author

Actually, that was because the null value is passed to the homescreen from the splashscreen(username). Fixed ✅✅ the error now. You can update the code as i updated the article.
Or else simply store the user details in localstorage using the SharedPreferences. It enables you to access the details even in offline mode.
I have commited the new changes to github. If you stuck anywhere look over github repo.

Forem Open with the Forem app