HeaderList constructor Null safety

HeaderList(
  1. {Key? key,
  2. required IndexedWidgetBuilder itemBuilder,
  3. required ScrollableController controller,
  4. required ItemScrollController itemScrollController,
  5. required ItemPositionsListener itemPositionsListener,
  6. required int numberOfItems}
)

Implementation

HeaderList({
  Key? key,
  required this.itemBuilder,
  required this.controller,
  required this.itemScrollController,
  required this.itemPositionsListener,
  required this.numberOfItems,
}) : super(key: key);