EndFadeableList.listView constructor

EndFadeableList.listView({
  1. required List<Widget> children,
  2. required ScrollController scrollController,
  3. required double? maxShadeSizeFraction,
})

Implementation

factory EndFadeableList.listView({
  required List<Widget> children,
  required ScrollController scrollController,
  required double? maxShadeSizeFraction,
}) {
  return EndFadeableList(
    scrollController: scrollController,
    maxShadeSizeFraction: maxShadeSizeFraction,
    child: ListView(
      controller: scrollController,
      children: children,
    ),
  );
}