scrollingBodyBuilder method
Widget
scrollingBodyBuilder(
- BuildContext context,
- SheetState? state,
- ScrollController scrollController,
- int pageIndex,
- bool scrollLock,
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,
);
}