CustomListView constructor

const CustomListView({
  1. Key? key,
  2. required List<Widget> children,
  3. ScrollPhysics? physics,
  4. bool reverse = false,
  5. ScrollController? controller,
  6. EdgeInsetsGeometry? padding,
  7. bool shrinkWrap = false,
  8. Axis scrollDirection = Axis.vertical,
})

Implementation

const CustomListView({
  super.key,
  required this.children,
  ScrollPhysics? physics,
  this.reverse = false,
  this.controller,
  this.padding,
  this.shrinkWrap = false,
  this.scrollDirection = Axis.vertical,
}) : physics = const BouncingScrollPhysics();