SlidingSheetMultiFeed constructor

SlidingSheetMultiFeed({
  1. required List<FeedLoader> loaders,
  2. required MultiFeedController controller,
  3. required MultiFeedBuilder childBuilder,
  4. double? footerHeight,
  5. int? lengthFactor,
  6. int? initialLength,
  7. bool initiallyLoad = true,
  8. bool? disableScroll,
  9. Widget placeholders(
    1. double extent,
    2. int index
    )?,
  10. Widget? loading,
  11. RetrievalFunction? getItemID,
  12. IndexWidgetWrapper? wrapper,
  13. List<Tuple2<dynamic, int>>? pinnedItems,
  14. Widget headerBuilder(
    1. BuildContext context,
    2. dynamic pageObj,
    3. Widget spacer,
    4. double borderRadius,
    )?,
  15. PerceiveSlidableController? sheetController,
  16. bool staticSheet = false,
  17. Color? backgroundColor,
  18. Color? minBackdropColor,
  19. double initialExtent = 0.4,
  20. double expandedExtent = 1.0,
  21. double minExtent = 0.0,
  22. Widget footerBuilder(
    1. BuildContext context,
    2. SheetState,
    3. dynamic pageObject
    )?,
  23. dynamic extentListener(
    1. double extent
    )?,
  24. bool isBackgroundIntractable = false,
  25. bool closeOnBackdropTap = true,
  26. bool doesPop = true,
  27. double staticScrollModifier = 0.0,
})

Implementation

factory SlidingSheetMultiFeed({
  required List<FeedLoader> loaders,
  required MultiFeedController controller,
  required MultiFeedBuilder childBuilder,
  double? footerHeight,
  int? lengthFactor,
  int? initialLength,
  bool initiallyLoad = true,
  bool? disableScroll,
  Widget Function(double extent, int index)? placeholders,
  Widget? loading,
  RetrievalFunction? getItemID,
  IndexWidgetWrapper? wrapper,
  List<Tuple2<dynamic, int>>? pinnedItems,
  Widget Function(BuildContext context, dynamic pageObj, Widget spacer, double borderRadius)? headerBuilder,
  PerceiveSlidableController? sheetController,
  bool staticSheet = false,
  Color? backgroundColor,
  Color? minBackdropColor,
  double initialExtent = 0.4,
  double expandedExtent = 1.0,
  double minExtent = 0.0,
  Widget Function(BuildContext context, SheetState, dynamic pageObject)? footerBuilder,
  Function(double extent)? extentListener,
  bool isBackgroundIntractable = false,
  bool closeOnBackdropTap = true,
  bool doesPop = true,
  double staticScrollModifier = 0.0
}) => SlidingSheetMultiFeed._(
  delegate: PerceiveSlidableMultiFeedDelegate(
    loaders: loaders,
    controller: controller,
    footerHeight: footerHeight,
    lengthFactor: lengthFactor,
    initialLength: initialLength,
    childBuilder: childBuilder,
    initiallyLoad: initiallyLoad,
    disableScroll: disableScroll,
    placeholders: placeholders,
    loading: loading,
    getItemID: getItemID,
    wrapper: wrapper,
    pinnedItems: pinnedItems,
    header: headerBuilder,
    staticScrollModifier: staticScrollModifier
  ),
  sheetController: sheetController,
  staticSheet: staticSheet,
  backgroundColor: backgroundColor,
  minBackdropColor: minBackdropColor,
  initialExtent: initialExtent,
  expandedExtent: expandedExtent,
  minExtent: minExtent,
  footerBuilder: footerBuilder,
  extentListener: extentListener,
  isBackgroundIntractable: isBackgroundIntractable,
  closeOnBackdropTap: closeOnBackdropTap,
  doesPop: doesPop,
);