title: Flutter: How to limit get images in flutter "ListView.builder()"?
body: <p>i get images data from web server but, total data is 200+ MB, if I load it at once, the app will crash. how to limit get photos, maybe take every 5 photos.</p>
  
  <p>i'm use ListView.builder() - FLutter
  and i try use cache image library</p>
  
  <pre><code>ListView.builder(
    itemCount: dataJSON == null ? 0 : dataJSON.length,
    padding: EdgeInsets.all(16.0),
    itemBuilder: (context, i) {
      Container(
        height: 100.0,
        width: 70.0,
        decoration: BoxDecoration(
          borderRadius: BorderRadius.only(
            bottomLeft: Radius.circular(5),
            topLeft: Radius.circular(5)
          ),
          image: DecorationImage(
            fit: BoxFit.cover,
            image: new CachedNetworkImageProvider(dataJSON[i]['photo'])
          ),
        ),
      ),
    },
  )
  </code></pre>
  
  <p>when I scroll, maybe 20 photos and then crash, the app is exit</p>
  
  <p>what should i do?</p>