PaginationScrollScreen constructor

const PaginationScrollScreen({
  1. Key? key,
  2. required Widget showWidget,
  3. required ScrollController scrollController,
  4. required Function loadingFunction,
  5. Widget loadingWidget = const CupertinoActivityIndicator(),
  6. Widget errorWidget = const Text("There is an error"),
  7. Axis scrollDirection = Axis.vertical,
  8. double paddingTop = 20,
  9. double paddingBottom = 20,
  10. double paddingStart = 16,
  11. double paddingEnd = 16,
})

Implementation

const PaginationScrollScreen({
  Key? key,
  required this.showWidget,
  required this.scrollController,
  required this.loadingFunction,
  this.loadingWidget = const CupertinoActivityIndicator(),
  this.errorWidget = const Text("There is an error"),
  this.scrollDirection = Axis.vertical,
  this.paddingTop = 20,
  this.paddingBottom = 20,
  this.paddingStart = 16,
  this.paddingEnd = 16,
}) : super(key: key);