title: How to add a list of network images in NetworkImage() in Flutter
body: <p>i want to make slide show with multiple images  but my images is in json as list view and i don't know how can i make it in slideshow with list only </p>
  
  <p>so how can i make it in NetworkImage() by a list not only one image</p>
  
  <pre><code>class SlideShow extends StatefulWidget {
    _SlideShowState createState() =&gt; new _SlideShowState();
  }
  
  class _SlideShowState extends State&lt;SlideShow&gt;
      with SingleTickerProviderStateMixin {
    Animation&lt;double&gt; animation;
    AnimationController controller;
    List&lt;GallariesModel&gt; _images = &lt;GallariesModel&gt;[];
  
    initState() {
      super.initState();
      controller = new AnimationController(
          duration: const Duration(milliseconds: 2000), vsync: this);
      animation = new Tween(begin: 0.0, end: 18.0).animate(controller)
        ..addListener(() {
          setState(() {
            // the state that has changed here is the animation object’s value
            listenForGallaries();
          });
        });
      controller.forward();
    }
  
    void listenForGallaries() async {
      final Stream&lt;GallariesModel&gt; stream = await getGallaries();
      stream.listen(
          (GallariesModel galaries) =&gt; setState(() =&gt; _images.add(galaries)));
    }
  
    @override
    Widget build(BuildContext context) {
      double screenHeight = MediaQuery.of(context).size.height;
  
      Widget carousel = new Carousel(
        boxFit: BoxFit.cover,
        images: [
          NetworkImage("www.imagelink.com/"+
              _images.first.file),
               NetworkImage("www.imagelink.com/"+
              _images.last.file),
        ],
        animationCurve: Curves.fastOutSlowIn,
        animationDuration: Duration(seconds: 1),
      );
  
      return new Container(
        margin: EdgeInsets.all(13.0),
        height: screenHeight / 3.5,
        child: new ClipRRect(
          borderRadius: BorderRadius.circular(5.0),
          child: new Stack(
            children: [
              carousel,
            ],
          ),
        ),
      );
    }
  
    dispose() {
      controller.dispose();
      super.dispose();
    }
  }
  </code></pre>
  
  <p>now i use some way that let me to see the first image and the last in the list is there any way that help me with that</p>