title: Non-nullable instance field ''" must be initialized
body: <p>I am learning flutter and trying to integrate API with it and I am getting some kind of error can anyone look and told what I am doing wrong here.</p>
  <pre><code>class _HomePageState extends State&lt;HomePage&gt; {
     Future&lt;News&gt; _newsModel; //getting error here 1*
    @override
    Future&lt;void&gt; initState() async {
      super.initState();
      var _newsModel = await API_Manager().getNews();
    }
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          title: Text(&quot;News App&quot;),
        ),
        body: Container(
          child: FutureBuilder(
            future: _newsModel,
            builder: (context, snapshot) {
              if (snapshot.hasData) {
                return (ListView.builder(itemBuilder: (context, index) {
                  return Container(
                    height: 100,
                    color: Colors.red,
                  );
                }));
              } else {
                return CircularProgressIndicator();
              }
            },
          ),
        ),
      );
    }
  }
  </code></pre>
  <p>1*) compiler is giving this error &quot;Non-nullable instance field '_newsModel' must be initialized.
  Try adding an initializer expression, or a generative constructor that initializes it, or mark it 'late'&quot;.</p>
  <p>I have also tried by giving the late the error goes from the Editor but when the app runs it comes again. I am trying to get some news from the API and show them in the UI</p>
  <p><a href="https://i.stack.imgur.com/OVZUE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OVZUE.png" alt="enter image description here" /></a></p>