scrollingBodyBuilder method

  1. @override
Widget scrollingBodyBuilder(
  1. BuildContext context,
  2. SheetState? state,
  3. ScrollController scrollController,
  4. int pageIndex,
  5. bool scrollLock,
  6. double footerHeight,
)

Implementation

@override
Widget scrollingBodyBuilder(BuildContext context, SheetState? state, ScrollController scrollController, int pageIndex, bool scrollLock, double footerHeight) {
  return Feed(
    compact: false,
    footerHeight: (this.footerHeight ?? 0) + footerHeight,
    scrollController: scrollController,
    loader: loader,
    controller: controller,
    lengthFactor: lengthFactor,
    initialLength: initialLength,
    childBuilder: childBuilder,
    initiallyLoad: initiallyLoad,
    disableScroll: (disableScroll ?? false) || scrollLock,
    placeholder: placeholder?.call(context, state?.extent ?? initialExtent),
    loading: loading,
    getItemID: getItemID,
    wrapper: wrapper,
    pinnedItems: pinnedItems,
  );
}