ListView constructor

ListView({
  1. Axis direction = Axis.vertical,
  2. bool reverse = false,
  3. double? spacing = 0,
  4. EdgeInsetsGeometry? padding,
  5. List<Widget> children = const <Widget>[],
})

Implementation

ListView({
  this.direction = Axis.vertical,
  this.reverse = false,
  this.spacing = 0,
  this.padding,
  List<Widget> this.children = const <Widget>[],
})  : itemBuilder = null,
      separatorBuilder = null,
      itemCount = children.length,
      super();