Orientação gerada a partir de informações públicas. Apenas para referência.
Um widget do Flutter projetado para criar tabelas com cabeçalhos e primeiras colunas fixos, permitindo rolagem suave vertical e horizontal. Suporta linhas expansíveis para visualização detalhada de dados, mantendo a estabilidade do layout entre plataformas. Ideal para exibir dados estruturados de forma responsiva e amigável ao usuário. O pacote é compatível com Android, iOS, Web, macOS, Windows e Linux, tornando-o adequado para aplicações multiplataforma.
Casos de uso
Exibindo grandes conjuntos de dados com cabeçalhos fixos
Criando tabelas interativas com detalhes expansíveis
Construindo painéis de administração com dados estruturados
Mostrando informações hierárquicas ou aninhadas
Implementando grades de dados responsivas em múltiplas plataformas
Principais recursos
Cabeçalho fixo e primeira coluna
Linhas de tabela expansíveis
Compatibilidade multiplataforma
Suporte a rolagem suave
Opções de estilização personalizáveis
design de layout responsivo
Indicado para
Aplicações intensivas em dados
Painéis de administração e dashboards
Ferramentas de relatórios
Aplicativos móveis e web que exigem exibição de dados estruturados
Desenvolvedores que precisam de componentes de tabela reutilizáveis
Considerações
Pode exigir estilos adicionais para layouts complexos
Impacto no desempenho com conjuntos de dados muito grandes
Paginação ou filtragem interna limitada
Mais adequado para conjuntos de dados moderados
Requer gerenciamento cuidadoso do estado da linha expansível
README original
Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.
flutter_expandable_table
Expandable Table
ExpandableTable is a widget for Flutter that create a Table with header and first column fixed. You can create a nested Rows/Columns grouped in expandable Row/Column
ExpandableTable
Features
Header and first column fixed
Supports vertical and horizontal scroll
Customizable animation Duration and Curve
Specific height definition for each single row
Specific width definition for each single column
Access to cell address when building cell content
Access to the parent rows and columns of the cell while building the contents of a cell
firstHeaderCell: Is the top left cell, i.e. the first header cell.
headers: contains the list of all column headers, each one of these can contain a list of further headers, this allows you to create nested and expandable columns.
rows: contains the list of all the rows of the table, each of these can contain a list of further rows, this allows you to create nested and expandable rows.
headerHeight: is the height of each column header, i.e. the first row.
firstColumnWidth: determines first Column width size.
defaultsColumnWidth: defines the default width of all columns, it is possible to redefine it for each individual column.
defaultsRowHeight: defines the default height of all rows, it is possible to redefine it for every single row.
duration: determines duration rendered animation of Rows/Columns expansion.
curve: determines rendered curve animation of Rows/Columns expansion.
scrollShadowDuration: determines duration rendered animation of shadows.
scrollShadowFadeInCurve: determines rendered curve animation of shadows appearance.
scrollShadowFadeOutCurve: determines rendered curve animation of shadows disappearance.
scrollShadowColor: determines rendered color of shadows.
scrollShadowSize: determines size of shadows.
visibleScrollbar: determines visibility of horizontal and vertical scrollbars.
trackVisibilityScrollbar: indicates that the scrollbar track should be visible.
thumbVisibilityScrollbar: indicates that the scrollbar thumb should be visible, even when a scroll is not underway.
expanded: indicates that the table expands, so it fills the available space along the horizontal and vertical axes.