CustomListView constructor

const CustomListView({
  1. Key? key,
  2. required List items,
  3. required Widget itemBuilder(
    1. dynamic item
    ),
  4. Color? backgroundColor,
  5. EdgeInsetsGeometry? padding,
  6. Widget? separator,
  7. bool shrinkWrap = true,
  8. bool horizontal = false,
  9. double? width,
  10. double? height,
  11. double? itemHeight,
  12. double? itemWidth,
})

Implementation

const CustomListView({
  Key? key,
  required this.items,
  required this.itemBuilder,
  this.backgroundColor,
  this.padding,
  this.separator,
  this.shrinkWrap = true,
  this.horizontal = false,
  this.width,
  this.height,
  this.itemHeight,
  this.itemWidth,
}) : super(key: key);