HorizontalList constructor
HorizontalList({
- required int itemCount,
- required IndexedWidgetBuilder itemBuilder,
- double? spacing,
- double? runSpacing,
- EdgeInsets? padding,
- ScrollPhysics? physics,
- ScrollController? controller,
- bool reverse = false,
- WrapAlignment? wrapAlignment,
- WrapCrossAlignment? crossAxisAlignment,
- Key? key,
Implementation
HorizontalList({
required this.itemCount,
required this.itemBuilder,
this.spacing,
this.runSpacing,
this.padding,
this.physics,
this.controller,
this.reverse = false,
this.wrapAlignment,
this.crossAxisAlignment,
super.key,
});