AdvancedTableSliver constructor

const AdvancedTableSliver({
  1. Key? key,
  2. required Widget headerBuilder(
    1. BuildContext,
    2. HeaderBuilder
    ),
  3. required List<Widget> rowElementsBuilder(
    1. BuildContext,
    2. RowBuilderParams
    ),
  4. required List items,
  5. required ValueNotifier<bool> isLoadingAll,
  6. ValueNotifier<bool>? isLoadingMore,
  7. Widget? onEmptyState,
  8. BoxDecoration? headerDecoration,
  9. EdgeInsets? innerHeaderPadding,
  10. required Widget fullLoadingPlaceHolder,
  11. Widget? loadingMorePlaceHolder,
  12. EdgeInsets? elementsPadding,
  13. BoxDecoration? rowElementsDecoration,
  14. EdgeInsets? innerRowElementsPadding,
  15. TextStyle? headerTextStyle,
  16. EdgeInsets? outterRowsPadding,
  17. BoxDecoration rowDecorationBuilder(
    1. int,
    2. bool
    )?,
  18. EdgeInsets? outterHeaderPadding,
  19. required List headerItems,
  20. List? actions,
  21. Widget actionBuilder(
    1. BuildContext,
    2. ActionParamBuilder
    )?,
  22. bool addSpacerToActions = true,
  23. void onRowTap(
    1. int
    )?,
  24. Widget rowBuilder(
    1. BuildContext,
    2. int,
    3. Widget,
    4. bool,
    )?,
})

Implementation

const AdvancedTableSliver({
  super.key,
  required this.headerBuilder,
  required this.rowElementsBuilder,
  required this.items,
  required this.isLoadingAll,
  this.isLoadingMore,
  this.onEmptyState,
  this.headerDecoration,
  this.innerHeaderPadding,
  required this.fullLoadingPlaceHolder,
  this.loadingMorePlaceHolder,
  this.elementsPadding,
  this.rowElementsDecoration,
  this.innerRowElementsPadding,
  this.headerTextStyle,
  this.outterRowsPadding,
  this.rowDecorationBuilder,
  this.outterHeaderPadding,
  required this.headerItems,
  this.actions,
  this.actionBuilder,
  this.addSpacerToActions = true,
  this.onRowTap,
  this.rowBuilder,
});