NIB / PLAYGROUND
Data table playground — NibComponents
Try data table in Flutter. Sort task counts, select real rows, and inspect loading or empty states.
Open interactive viewSort task counts, select real rows, and inspect loading or empty states.
Read the full component guide and API
Public widgets and APIs
- NibCellBuilder
- NibDataColumn
- NibDataTable
- NibDataTableController
- NibDataTableSelectionMode
- NibDataTableSort
- NibSortDirection
- NibSortValueGetter
Example Dart code
SizedBox(height: 280, child: NibDataTable<String>(
rows: const ['Atlas', 'Birch', 'Cedar'],
columns: [NibDataColumn(label: 'Project', cellBuilder: (_, row) => Text(row), sortValue: (row) => row)],
selectionMode: NibDataTableSelectionMode.single,
))Playground controls
| Control | Type | Options or range | Help |
|---|---|---|---|
| Selection mode | choice | none, single, multi | |
| Row height | number | 44.0–72.0 | |
| Filter project names | text | ||
| Animate row entrance | toggle |