SearchAppBarPagination<T> constructor

const SearchAppBarPagination<T>({
  1. Key? key,
  2. required FutureFetchPageItems<T> futureFetchPageItems,
  3. required WidgetsPaginationItemBuilder<T> paginationItemBuilder,
  4. bool sortCompare = true,
  5. int? numItemsPage,
  6. Widget? widgetEndScrollPage,
  7. List<T>? initialData,
  8. FiltersTypes? filtersType,
  9. StringFilter<T>? stringFilter,
  10. RxBoolAuth? rxBoolAuth,
  11. Widget? searchAppBartitle,
  12. bool searchAppBarcenterTitle = false,
  13. IconThemeData? searchAppBarIconTheme,
  14. Color? searchAppBarbackgroundColor,
  15. Color? searchAppBarModeSearchBackgroundColor,
  16. Color? searchAppBarElementsColor,
  17. Color searchAppBarIconConnectyOffAppBarColor = Colors.redAccent,
  18. String? searchAppBarhintText,
  19. bool searchAppBarFlattenOnSearch = false,
  20. TextCapitalization searchAppBarCapitalization = TextCapitalization.none,
  21. List<Widget> searchAppBarActions = const <Widget>[],
  22. double searchAppBarElevation = 4.0,
  23. TextInputType? searchAppBarKeyboardType,
  24. Color? magnifyinGlassColor,
  25. WidgetsErrorBuilder? widgetErrorBuilder,
  26. Widget? widgetNothingFound,
  27. Widget? searchPageFloatingActionButton,
  28. FloatingActionButtonLocation? searchPageFloatingActionButtonLocation,
  29. FloatingActionButtonAnimator? searchPageFloatingActionButtonAnimator,
  30. List<Widget>? searchPagePersistentFooterButtons,
  31. Widget? searchPageDrawer,
  32. Widget? searchPageEndDrawer,
  33. Widget? searchPageBottomNavigationBar,
  34. Widget? searchPageBottomSheet,
  35. Color? searchPageBackgroundColor,
  36. String? restorationId,
  37. bool? resizeToAvoidBottomInset,
  38. bool primary = true,
  39. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  40. bool extendBody = false,
  41. bool extendBodyBehindAppBar = false,
  42. Color? drawerScrimColor,
  43. double? drawerEdgeDragWidth,
  44. bool drawerEnableOpenDragGesture = true,
  45. bool endDrawerEnableOpenDragGesture = true,
  46. Widget? widgetWaiting,
})

Implementation

const SearchAppBarPagination({
  super.key,
  required this.futureFetchPageItems,
  required this.paginationItemBuilder,
  this.sortCompare = true,
  this.numItemsPage,
  this.widgetEndScrollPage,
  this.initialData,
  this.filtersType,
  this.stringFilter,
  //this.cache = false,
  this.rxBoolAuth,
  this.searchAppBartitle,
  this.searchAppBarcenterTitle = false,
  this.searchAppBarIconTheme,
  this.searchAppBarbackgroundColor,
  this.searchAppBarModeSearchBackgroundColor,
  this.searchAppBarElementsColor,
  this.searchAppBarIconConnectyOffAppBarColor = Colors.redAccent,
  this.searchAppBarhintText,
  this.searchAppBarFlattenOnSearch = false,
  this.searchAppBarCapitalization = TextCapitalization.none,
  this.searchAppBarActions = const <Widget>[],
  this.searchAppBarElevation = 4.0,
  this.searchAppBarKeyboardType,
  this.magnifyinGlassColor,
  this.widgetErrorBuilder,
  this.widgetNothingFound,
  this.searchPageFloatingActionButton,
  this.searchPageFloatingActionButtonLocation,
  this.searchPageFloatingActionButtonAnimator,
  this.searchPagePersistentFooterButtons,
  this.searchPageDrawer,
  this.searchPageEndDrawer,
  this.searchPageBottomNavigationBar,
  this.searchPageBottomSheet,
  this.searchPageBackgroundColor,
  this.restorationId,
  this.resizeToAvoidBottomInset,
  this.primary = true,
  this.drawerDragStartBehavior = DragStartBehavior.start,
  this.extendBody = false,
  this.extendBodyBehindAppBar = false,
  this.drawerScrimColor,
  this.drawerEdgeDragWidth,
  this.drawerEnableOpenDragGesture = true,
  this.endDrawerEnableOpenDragGesture = true,
  this.widgetWaiting,
});