BsDatatable constructor
const
BsDatatable({
- Key? key,
- required BsDatatableSource source,
- required List<
BsDataColumn> columns, - BsDatatableServerSide? serverSide,
- BsDatatableBuilder? customizeLayout,
- double? width,
- TextStyle? hintStyleSearch,
- Widget? title,
- TextStyle? titleTextStyle,
- List<
BsPaginationButtons> pagination = BsPagination.buttons, - Widget? notFoundText,
- Widget? processingText,
- Widget? textInfo,
- TextStyle? textInfoStyle,
- BsDatatableStyle style = const BsDatatableStyle(),
- BsPaginationButtonStyle stylePagination = const BsPaginationButtonStyle(),
- BsDatatableLanguage language = const BsDatatableLanguage(),
- BsDatatableOnRowPressed? onRowPressed,
- 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);