skip to Main Content

future: FirebaseAuth.instance.currentUser(), throws an error, need alternatives – Flutter

I have seen various questions about the same topic, and realized that 'currentUser' does not go with future after the update in FirebaseAuth import 'package:flutter/material.dart'; import 'package:firebase_auth/firebase_auth.dart'; class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); } class _HomePageState…

VIEW QUESTION
Back To Top
Search