BodyList constructor Null safety

const BodyList(
  1. {Key? key,
  2. required IndexedWidgetBuilder itemBuilder,
  3. double? keepAlive,
  4. required int numberOfItems,
  5. required ItemScrollController itemScrollController,
  6. required ItemPositionsListener itemPositionsListener}
)

Implementation

const BodyList({
  Key? key,
  required this.itemBuilder,
  this.keepAlive,
  required this.numberOfItems,
  required this.itemScrollController,
  required this.itemPositionsListener,
}) : super(key: key);