CustomSliverList constructor

const CustomSliverList({
  1. Key? key,
  2. required SliverChildDelegate delegate,
  3. EdgeInsets padding = _defaultPadding,
})

Wraps SliverList in order to present it in a way that is similar to ListView.

Implementation

const CustomSliverList({
  super.key,
  required this.delegate,
  this.padding = _defaultPadding,
});