dart
ListView
(
// This next line does the trick.
scrollDirection:
Axis
.horizontal,
children: <
Widget
>[
Container
(
width:
160
,
color:
Colors
.red,
),
Container
(
width:
160
,
color:
Colors
.blue,
),
Container
(
width:
160
,
color:
Colors
.green,
),
Container
(
width:
160
,
color:
Colors
.yellow,
),
Container
(
width:
160
,
color:
Colors
.orange,
),
],
),