This Flutter example will help you to create a Horizontal ListView with images. In order to try this example, all you need to do is to copy-paste the below code into main.dart file of your freshly created flutter project.
The final output of this example is as below,
; background-color: rgb(30, 30, 30); font-family: Consolas, "Courier New", monospace; font-size: 14px; line-height: 19px; white-space: pre-wrap;](color: #569cd6;](import color: #ce9178;]('package:flutter/material.dart';
color: #569cd6;](void main() { runApp(MyApp());}
color: #569cd6;](class MyApp color: #569cd6;](extends StatelessWidget { color: #569cd6;](@override Widget build(BuildContext context) { color: #569cd6;](final title = color: #ce9178;]("Horizontal ListView List"; List choices = color: #569cd6;](const [ color: #569cd6;](const Choice( title: color: #ce9178;]('MacBook Pro', date : color: #ce9178;]('1 June 2019', description: color: #ce9178;]('MacBook Pro (sometimes abbreviated as MBP) is a line of Macintosh portable computers introduced in January 2006 by Apple Inc.', imglink:color: #ce9178;]('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60'), color: #569cd6;](const Choice(title: color: #ce9178;]('MacBook Air', date : color: #ce9178;]('1 June 2016', description: color: #ce9178;]('MacBook Air is a line of laptop computers developed and manufactured by Apple Inc. It consists of a full-size keyboard, a machined aluminum case, and a thin light structure.', imglink:color: #ce9178;]('https://images.unsplash.com/photo-1499673610122-01c7122c5dcb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60'), color: #569cd6;](const Choice(title: color: #ce9178;]('iMac', date : color: #ce9178;]('1 June 2019', description: color: #ce9178;]('iMac is a family of all-in-one Macintosh desktop computers designed and built by Apple Inc. It has been the primary part of Apple consumer desktop offerings since its debut in August 1998, and has evolved through seven distinct forms.', imglink:color: #ce9178;]('https://images.unsplash.com/photo-1517059224940-d4af9eec41b7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60'), color: #569cd6;](const Choice(title: color: #ce9178;]('Mac Mini', date : color: #ce9178;]('1 June 2017',description: color: #ce9178;]('Mac mini (branded with lowercase "mini") is a desktop computer made by Apple Inc. One of four desktop computers in the current Macintosh lineup, along with the iMac, Mac Pro, and iMac Pro, it uses many components usually featured in laptops to achieve its small size.', imglink:color: #ce9178;]('https://www.apple.com/v/mac-mini/f/images/shared/og_image__4mdtjbfhcduu_large.png?201904170831'), color: #569cd6;](const Choice(title: color: #ce9178;]('Mac Pro', date : color: #ce9178;]('1 June 2018',description: color: #ce9178;]('Mac Pro is a series of workstation and server computer cases designed, manufactured and sold by Apple Inc. since 2006. The Mac Pro, in most configurations and in terms of speed and performance, is the most powerful computer that Apple offers.', imglink:color: #ce9178;]('https://i0.wp.com/9to5mac.com/wp-content/uploads/sites/6/2017/01/mac-pro-2-concept-image.png?resize=1000%2C500&quality=82&strip=all&ssl=1'), ];
color: #569cd6;](return MaterialApp( title: title, home: Scaffold(appBar: AppBar( title: Text(title), ), body: color: #569cd6;](new ListView( scrollDirection: Axis.horizontal, shrinkWrap: color: #569cd6;](true, padding: color: #569cd6;](const EdgeInsets.all(color: #b5cea8;](20.0), children: List.generate(choices.length, (index) { color: #569cd6;](return Center( child: ChoiceCard(choice: choices[index], item: choices[index]), ); } ) ) ) ); }}
color: #569cd6;](class Choice { color: #569cd6;](final String title; color: #569cd6;](final String date; color: #569cd6;](final String description; color: #569cd6;](final String imglink;
color: #569cd6;](const Choice({color: #569cd6;](this.title, color: #569cd6;](this.date, color: #569cd6;](this.description, color: #569cd6;](this.imglink});}
color: #569cd6;](class ChoiceCard color: #569cd6;](extends StatelessWidget { color: #569cd6;](const ChoiceCard( {Key key, color: #569cd6;](this.choice, color: #569cd6;](this.onTap, color: #569cd6;](@required color: #569cd6;](this.item, color: #569cd6;](this.selected: color: #569cd6;](false} ) : color: #569cd6;](super(key: key); color: #569cd6;](final Choice choice; color: #569cd6;](final VoidCallback onTap; color: #569cd6;](final Choice item; color: #569cd6;](final bool selected;
color: #569cd6;](@override Widget build(BuildContext context) { TextStyle textStyle = Theme.of(context).textTheme.display1; color: #569cd6;](if (selected) textStyle = textStyle.copyWith(color: Colors.lightGreenAccent[color: #b5cea8;](400]); color: #569cd6;](return Card( color: Colors.white, child: Column( children: [ color: #569cd6;](new Container( padding: color: #569cd6;](const EdgeInsets.all(color: #b5cea8;](8.0), child: Container( width: color: #b5cea8;](260.0, height: color: #b5cea8;](260.0, child: Image.network( choice.imglink ), )), color: #569cd6;](new Container( width: color: #b5cea8;](260.0, padding: color: #569cd6;](const EdgeInsets.all(color: #b5cea8;](10.0), child: Column( mainAxisAlignment: MainAxisAlignment.spaceEvenly, crossAxisAlignment: CrossAxisAlignment.start, children: [ Text(choice.title, style: Theme.of(context).textTheme.title), Text(choice.date, style: TextStyle(color: Colors.black.withOpacity(color: #b5cea8;](0.5))), Text(choice.description), ], ), ) ], crossAxisAlignment: CrossAxisAlignment.start, ) ); }}
color: rgb(33, 37, 41); white-space: pre-wrap;](Hope this will be helpful to you.
Thanks,Srikanth
color: rgb(33, 37, 41); white-space: pre-wrap;](