title: The argument type 'Future<ListView>' can't be assigned to the parameter type 'Widget?'
body: <p>I'm trying to create a ListView with some data received from Firebase, but I keep getting this message. I have tried with FutureBuilder but nothing was useful</p>
  <blockquote>
  <p>The argument type 'Future' can't be assigned to the parameter type 'Widget?'</p>
  </blockquote>
  <p>Code is here:</p>
  <pre><code>class CityScreen extends StatelessWidget {
    const CityScreen({Key? key}) : super(key: key);
  
    Future&lt;ListView&gt; CreateList() async {
      List&lt;CityButton&gt;? listButtons;
      final FirebaseAuth auth = FirebaseAuth.instance;
      final User? user = auth.currentUser;
      final uid = user!.uid;
      CollectionReference trips = FirebaseFirestore.instance.collection('events');
  
      QuerySnapshot eventsQuery =
          await trips.where(&quot;uid&quot;, isEqualTo: uid).orderBy('initDate').get();
      // ignore: avoid_function_literals_in_foreach_calls
      eventsQuery.docs.forEach((element) {
        listButtons!.add(CityButton(
            element['city'],
            DateTime.parse(element['initDate']),
            DateTime.parse(element['endDate'])));
      });
  
      return ListView(
        children: listButtons!,
      );
    }
  
  
        @override
        Widget build(BuildContext context) {
          Future&lt;ListView&gt; lista = CreateList();
          
          return Scaffold(
            backgroundColor: const Color(0xFFF5F5F5),
            body: lista,
  </code></pre>