flutter – I am unable to use Firebase Auth Package correctly

Everytime i run the code for the first time in my Android Studio Code, I have to hot reload it just to enable the submit button. I think the problem is that the current version of Auth package isn’t returning FirebasAuth.instance.currentuser as a future but returning a User class. Here’s my code.

import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';

class NewMessage extends StatefulWidget {
  _NewMessageState createState() => _NewMessageState();

class _NewMessageState extends State<NewMessage> {
  var _enteredMssg = '';
  var _controller = new TextEditingController();

  void sendMessage() {
    final user = FirebaseAuth.instance.currentUser;
      'text': _enteredMssg,
      'createdAt': Timestamp.now(),
      'userId': user.uid,
    // print(user.uid);
    _enteredMssg = '';

  Widget build(BuildContext context) {
    return Container(
      margin: EdgeInsets.only(
        top: 10,
      padding: EdgeInsets.all(10),
      child: Row(
        children: (
            child: TextField(
              controller: _controller,
              decoration: InputDecoration(labelText: 'Send a message'),
              onChanged: (value) {
                _enteredMssg = value;
              icon: Icon(Icons.send),
              color: Theme.of(context).accentColor,
              onPressed: _enteredMssg.trim().isEmpty ? null : sendMessage)