PerceiveSlidableMultiFeedDelegate constructor
PerceiveSlidableMultiFeedDelegate({
- required List<
FeedLoader> loaders, - required MultiFeedController controller,
- required int? lengthFactor,
- required int? initialLength,
- required MultiFeedBuilder? childBuilder,
- required bool initiallyLoad,
- required bool? disableScroll,
- required Widget placeholders()?,
- required Widget? loading,
- required RetrievalFunction? getItemID,
- required IndexWidgetWrapper? wrapper,
- required List<
Tuple2< ? pinnedItems,dynamic, int> > - required Widget header(
- BuildContext context,
- dynamic pageObj,
- Widget spacer,
- double borderRadius,
- int? initialPage,
- dynamic delegateObject,
- 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);