I am trying to build an app that contains chat, but the error message appears because this line:
return FutureBuilder(
future: FirebaseAuth.instance.currentUser,
The argument type 'User' can't be assigned to the parameter type 'Future<dynamic>'.
my code enter image description here