PerceiveSlidableMultiFeedDelegate constructor

PerceiveSlidableMultiFeedDelegate({
  1. required List<FeedLoader> loaders,
  2. required MultiFeedController controller,
  3. required double? footerHeight,
  4. required int? lengthFactor,
  5. required int? initialLength,
  6. required MultiFeedBuilder? childBuilder,
  7. required bool initiallyLoad,
  8. required bool? disableScroll,
  9. required Widget placeholders(
    1. double extent,
    2. int index
    )?,
  10. required Widget? loading,
  11. required RetrievalFunction? getItemID,
  12. required IndexWidgetWrapper? wrapper,
  13. required List<Tuple2<dynamic, int>>? pinnedItems,
  14. required Widget header(
    1. BuildContext context,
    2. dynamic pageObj,
    3. Widget spacer,
    4. double borderRadius,
    )?,
  15. int? initialPage,
  16. dynamic delegateObject,
  17. double staticScrollModifier = 0.0,
})

Implementation

PerceiveSlidableMultiFeedDelegate({
  required this.loaders,
  required this.controller,
  required this.footerHeight,
  required this.lengthFactor,
  required this.initialLength,
  required this.childBuilder,
  required this.initiallyLoad,
  required this.disableScroll,
  required this.placeholders,
  required this.loading,
  required this.getItemID,
  required this.wrapper,
  required this.pinnedItems,
  required this.header,
  int? initialPage,
  dynamic delegateObject,
  double staticScrollModifier = 0.0
}) : super(pageCount: loaders.length, initialPage: initialPage ?? ((loaders.length - 1)/2).ceil(), delegateObject: delegateObject, staticScrollModifier: staticScrollModifier);