title: Flutter - Displaying two ListViews on one screen
body: <p>I'm trying to add a horizontal <code>listView.builder</code> on top of another vertical <code>listView.builder</code>. Both <code>listViews</code> should have <code>text</code> on top of both.</p>
  
  <p>This is what I've made so far, <strong>only the top horizontal</strong> <code>listView.builder</code> <strong>is drawn</strong>, when I try to click where the <strong>bottom</strong> vertical <code>listView.builder</code> is supposed to be drawn, the app crashes in debug and I get the error: <code>NoSuchMethodError: The getter 'visible' was called on null.</code></p>
  
  <p>Also, I don't know how to add the two <code>text</code> fields, so I've left them out.</p>
  
  <p>I have quite a lot of code, if you need to view more of it please do so <strong><a href="https://pastebin.com/Km9v6fD0" rel="noreferrer">here</a></strong></p>
  
  <pre><code>Widget _cryptoWidget() {
  return new Container(
      child: new Column(
        children: &lt;Widget&gt;[
          new Flexible(
            child: new ListView.builder(
                scrollDirection: Axis.horizontal,
                itemBuilder: (BuildContext context, int index) {
                return _listViewFiller();
              }
            ),
          ),
          new Flexible(
            child: new RefreshIndicator(
            key: refreshKey,
            child: new ListView.builder(
              scrollDirection: Axis.horizontal,
              itemCount: _currencies.length,
              itemBuilder: (BuildContext context, int index) {
                final int i = index ~/ 2;
                final Crypto currency = _currencies[i];
                final MaterialColor color = _colors[i % _colors.length];
                if (index.isOdd) {
                  return new Divider();
                }
                return _getListItemUi(currency, color);
              },
            ),
            onRefresh:refreshList,
          ),
          )
        ],
      )
    );
   }
  </code></pre>