ListView constructor

const ListView({
  1. Key? key,
  2. String? style,
  3. String? classAttribute,
  4. LayoutType layoutType = LayoutType.contain,
  5. Axis scrollDirection = Axis.vertical,
  6. required List<Widget> children,
})

Implementation

const ListView({
  Key? key,
  this.style,
  this.classAttribute,
  this.layoutType = LayoutType.contain,
  this.scrollDirection = Axis.vertical,
  required this.children,
})  : isListViewBuilder = false,
      itemCount = null,
      itemBuilder = null,
      super(key: key);