BsDatatable constructor

const BsDatatable({
  1. Key? key,
  2. required BsDatatableSource source,
  3. required List<BsDataColumn> columns,
  4. BsDatatableServerSide? serverSide,
  5. BsDatatableBuilder? customizeLayout,
  6. double? width,
  7. TextStyle? hintStyleSearch,
  8. Widget? title,
  9. TextStyle? titleTextStyle,
  10. List<BsPaginationButtons> pagination = BsPagination.buttons,
  11. Widget? notFoundText,
  12. Widget? processingText,
  13. Widget? textInfo,
  14. TextStyle? textInfoStyle,
  15. BsDatatableStyle style = const BsDatatableStyle(),
  16. BsPaginationButtonStyle stylePagination = const BsPaginationButtonStyle(),
  17. BsDatatableLanguage language = const BsDatatableLanguage(),
  18. BsDatatableOnRowPressed? onRowPressed,
  19. BsDatatablesClearData clearData = BsDatatablesClearData.always,
})

Implementation

const BsDatatable({
  Key? key,
  required this.source,
  required this.columns,
  this.serverSide,
  this.customizeLayout,
  this.width,
  this.hintStyleSearch,
  this.title,
  this.titleTextStyle,
  this.pagination = BsPagination.buttons,
  this.notFoundText,
  this.processingText,
  this.textInfo,
  this.textInfoStyle,
  this.style = const BsDatatableStyle(),
  this.stylePagination = const BsPaginationButtonStyle(),
  this.language = const BsDatatableLanguage(),
  this.onRowPressed,
  this.clearData = BsDatatablesClearData.always,
}) : super(key: key);