SlidingSheetFeed constructor

const SlidingSheetFeed({
  1. Key? key,
  2. required FeedLoader loader,
  3. FeedController? controller,
  4. double? footerHeight,
  5. int? lengthFactor,
  6. int? initialLength,
  7. FeedBuilder? childBuilder,
  8. bool initiallyLoad = true,
  9. bool? disableScroll,
  10. Widget placeholder(
    1. BuildContext context,
    2. double extent
    )?,
  11. Widget? loading,
  12. RetrievalFunction? getItemID,
  13. WidgetWrapper? wrapper,
  14. List? pinnedItems,
  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 headerBuilder(
    1. BuildContext context,
    2. dynamic pageObj,
    3. Widget spacer,
    4. double borderRadius,
    )?,
  23. Widget footerBuilder(
    1. BuildContext context,
    2. SheetState,
    3. dynamic pageObject
    )?,
  24. dynamic extentListener(
    1. double extent
    )?,
  25. bool isBackgroundIntractable = false,
  26. bool closeOnBackdropTap = true,
  27. bool doesPop = true,
  28. double staticScrollModifier = 0.0,
})

Implementation

const SlidingSheetFeed({
  Key? key,
  required this.loader,
  this.controller,
  this.footerHeight,
  this.lengthFactor,
  this.initialLength,
  this.childBuilder,
  this.initiallyLoad = true,
  this.disableScroll,
  this.placeholder,
  this.loading,
  this.getItemID,
  this.wrapper,
  this.pinnedItems,
  this.sheetController,
  this.staticSheet = false,
  this.backgroundColor,
  this.minBackdropColor,
  this.initialExtent = 0.4,
  this.expandedExtent = 1.0,
  this.minExtent = 0.0,
  this.headerBuilder,
  this.footerBuilder,
  this.extentListener,
  this.isBackgroundIntractable = false,
  this.closeOnBackdropTap = true,
  this.doesPop = true,
  this.staticScrollModifier = 0.0
}) : super(key: key);