SlidingSheetMultiFeed constructor
SlidingSheetMultiFeed({
- required List<
FeedLoader> loaders, - required MultiFeedController controller,
- required MultiFeedBuilder childBuilder,
- int? lengthFactor,
- int? initialLength,
- bool initiallyLoad = true,
- bool? disableScroll,
- Widget placeholders()?,
- Widget? loading,
- RetrievalFunction? getItemID,
- IndexWidgetWrapper? wrapper,
- List<
Tuple2< ? pinnedItems,dynamic, int> > - Widget headerBuilder(
- BuildContext context,
- dynamic pageObj,
- Widget spacer,
- double borderRadius,
- PerceiveSlidableController? sheetController,
- bool staticSheet = false,
- Color? backgroundColor,
- Color? minBackdropColor,
- double initialExtent = 0.4,
- double expandedExtent = 1.0,
- double minExtent = 0.0,
- dynamic extentListener(
- double extent
- bool isBackgroundIntractable = false,
- bool closeOnBackdropTap = true,
- bool doesPop = true,
- 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,
);