title: flutter list of clickable images
body: <p>I have a good listview working with a leading image, title and its clickable.  I wanted to try and get it to be just a list of images with text on top of it.  I have looked at gridview, but really just need 1 image per line. This is my listview code.  Can this be changed or do I need to rewrite it to make this work.</p>
  
  <pre><code>@override
    Widget build(BuildContext context) {
      return new Scaffold(
        body: new RefreshIndicator(
          child: new ListView.builder(
              itemBuilder: _itemBuilder,
              itemCount: mylist.length,
          ),
          onRefresh: _onRefresh,
  
      ));
    }
  
    Widget _itemBuilder (BuildContext context, int index) {
      Specialties spec = getSpec(index);
      return new SpecialtyWidget(spec: spec,);
  
    }
  
    Specialties getSpec(int index) {
      return new Specialties(mylist[index]['id'], mylist[index]['name'], mylist[index]['details'], new Photo('lib/images/'+mylist[index]['image'], mylist[index]['name'], mylist[index]['name']));
      //return new Specialties.fromMap(mylist[index]);
  
    }
  
  class SpecialtyWidget extends StatefulWidget {
    SpecialtyWidget({Key key, this.spec}) : super(key: key);
  
    final Specialties spec;
  
    @override
    _SpecialtyWidgetState createState() =&gt; new _SpecialtyWidgetState();
  }
  
  class _SpecialtyWidgetState extends State&lt;SpecialtyWidget&gt; {
    @override
    Widget build(BuildContext context) {
      return new ListTile(
        leading: new Image.asset(widget.spec.pic.assetName),
        //title: new Text(widget.spec.name),
        onTap: _onTap,
      );
    }
  
    void _onTap() {
      Route route = new MaterialPageRoute(
        settings: new RouteSettings(name: "/specs/spec"),
        builder: (BuildContext context) =&gt; new SpecPage(spec: widget.spec),
      );
      Navigator.of(context).push(route);
    }
  }
  </code></pre>
  
  <p>If it will not work with the listview any guidance would be helpful.</p>
  
  <p>Thanks in advance</p>