Tabla constructor

const Tabla({
  1. Key? key,
  2. required List<List<RowTabla>> lstRows,
  3. required List<ColumnTabla> lstColumns,
  4. bool? hoverItem = true,
  5. double? altoColumna = 35,
  6. double? altoFila = 30,
  7. int? totalLista = 0,
  8. dynamic onTapRow(
    1. RowTabla
    )?,
  9. dynamic onFiltrar(
    1. Map<String, dynamic>
    )?,
  10. Map<String, dynamic> lstFiltros = const {},
  11. Map<String, Map<String, dynamic>> lstOpcionesCampo = const {},
  12. bool agregaPiePagina = true,
  13. bool? isQuitarFiltros = true,
  14. bool agregarBotonConfiguracion = false,
  15. Widget? botonConfiguracion,
  16. bool isVisibleConfiguracion = false,
  17. dynamic onInfoFilaHover(
    1. Map<String, int>
    )?,
  18. Color? hoverColor,
  19. String? textoPaginacion,
  20. dynamic onAnterior()?,
  21. dynamic onPosterior()?,
  22. int? subtotalLista,
  23. bool isVisiblePaginacion = false,
  24. dynamic onInicio()?,
  25. dynamic onFin()?,
  26. Map<String, String>? estadosFiltro,
})

Implementation

const Tabla({
  super.key,
  required this.lstRows,
  required this.lstColumns,
  this.hoverItem = true,
  this.altoColumna = 35,
  this.altoFila = 30,
  this.totalLista = 0,
  this.onTapRow,
  this.onFiltrar,
  this.lstFiltros = const {},
  this.lstOpcionesCampo = const {},
  this.agregaPiePagina = true,
  this.isQuitarFiltros = true,
  this.agregarBotonConfiguracion = false,
  this.botonConfiguracion,
  this.isVisibleConfiguracion = false,
  this.onInfoFilaHover,
  this.hoverColor,
  this.textoPaginacion,
  this.onAnterior,
  this.onPosterior,
  this.subtotalLista,
  this.isVisiblePaginacion = false,
  this.onInicio,
  this.onFin, this.estadosFiltro,
});