title: How to manually assign the first element of a Listview.builder in Flutter?
body: <p>I have a Flutter application, which displays events (stored in Cloud Firestore), on cards in a Listview.builder. I have a specific event, football. It has it's own, special cards. There can be multiple regular events in the list, but only one football event. I'd like to display this football event on the top of the list, as the first card. How can I achieve this?
  <br><br>
  My code so far:</p>
  <pre><code>import 'package:cloud_firestore/cloud_firestore.dart';
  import 'package:flutter/material.dart';
  import 'package:fociapp/model/events.dart';
  import 'package:fociapp/ui/event_card.dart';
  
  class HomePage extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return StreamBuilder(
          stream: Firestore.instance.collection(&quot;events&quot;).snapshots(),
          builder: (BuildContext context, AsyncSnapshot snapshot) {
            return snapshot.hasData
                ? Container(
                    color: Colors.grey[850],
                    child: ListView.builder(
                      itemCount: snapshot.data.documents.length,
                      itemBuilder: (BuildContext context, int index) {
                        DocumentSnapshot events = snapshot.data.documents[index];
                        Event event = Event(
                            events[&quot;eventName&quot;],
                            events[&quot;startTime&quot;],
                            events[&quot;coverImageUrl&quot;],
                            events[&quot;location&quot;],
                            events[&quot;description&quot;]);
  
                        return EventCard(event);
                      },
                    ),
                  )
                : Center(
                    child: CircularProgressIndicator(),
                  );
          });
    }
  }
  </code></pre>
  <br>
  Event is a model class for the data coming from Firestore, EventCard is the widget, which displays the data in a card.