data_grid library
Classes
-
CellRenderContext<
T extends DataGridRow> - Context provided to cell renderers.
-
CellRenderer<
T extends DataGridRow> - Abstract base class for custom cell rendering.
- ClearFilterEvent
- ClearSelectionEvent
- ColumnFilter
- ColumnReorderEvent
- ColumnResizeEvent
- CustomHorizontalScrollbar
- A custom horizontal scrollbar widget with drag support.
- CustomVerticalScrollbar
- A custom vertical scrollbar widget with drag support.
-
DataGrid<
T extends DataGridRow> -
DataGridBody<
T extends DataGridRow> - DataGridBorders
-
DataGridCell<
T extends DataGridRow> -
DataGridChildDelegate<
T extends DataGridRow> - Delegate that provides children (cells) for the 2D grid viewport. This is responsible for building widgets at specific grid coordinates.
- DataGridColors
-
DataGridColumn<
T extends DataGridRow> -
DataGridController<
T extends DataGridRow> - DataGridDimensions
- DataGridEvent
-
DataGridHeader<
T extends DataGridRow> - DataGridHeaderCell
- A single header cell widget that displays column title and handles sorting/resizing. Supports:
-
DataGridInherited<
T extends DataGridRow> -
DataGridInterceptor<
T extends DataGridRow> - Base class for DataGrid interceptors.
- DataGridLoadingOverlay
- Default loading overlay widget displayed during heavy operations.
- DataGridOverlayTheme
- DataGridPadding
- DataGridRow
-
DataGridRowWithPinnedCells<
T extends DataGridRow> - A data grid row widget that supports pinned (frozen) columns.
-
DataGridScrollView<
T extends DataGridRow> -
DataGridState<
T extends DataGridRow> - DataGridTheme
- DataGridThemeData
- DataGridVicinity
- Represents a cell's location in the 2D grid. Maps row/column coordinates to xIndex/yIndex used by the viewport.
-
DataGridViewport<
T extends DataGridRow> - The viewport widget that displays a scrollable window into the 2D grid. This widget creates and manages the render object that performs layout.
- DeleteRowEvent
- DeleteRowsEvent
- EditState
-
FilterDelegate<
T extends DataGridRow> - FilterEvent
- FilterRenderer
- Abstract base class for custom filter rendering.
- FilterResult
- FilterState
- GridScrollController
- GroupByColumnEvent
- GroupState
- InsertRowEvent
- InsertRowsEvent
-
LoadDataEvent<
T> - RefreshDataEvent
-
RenderDataGridViewport<
T extends DataGridRow> - The render object that performs the actual layout of the 2D grid. This implements the lazy rendering logic that only builds visible cells.
-
RowRenderContext<
T extends DataGridRow> - Context provided to row renderers with all necessary state and callbacks.
-
RowRenderer<
T extends DataGridRow> - Abstract base class for custom row rendering.
- ScrollbarTracker
- Widget that tracks scroll controller changes and rebuilds its child.
- ScrollEvent
- SelectAllRowsEvent
- SelectAllVisibleEvent
- SelectionState
- SelectRowEvent
- SelectRowsRangeEvent
- SetLoadingEvent
- SetSelectionModeEvent
- SortColumn
-
SortCompleteEvent<
T extends DataGridRow> -
SortDelegate<
T extends DataGridRow> - Abstract delegate for handling sort operations.
- SortEvent
- SortResult
- Result of a sort operation.
- SortState
- ToggleGroupExpansionEvent
- UngroupColumnEvent
- UpdateCellEvent
- UpdateRowEvent
-
ViewportDelegate<
T extends DataGridRow> - Abstract delegate for handling viewport calculations.
- ViewportResizeEvent
- ViewportState
Extensions
Constants
- kSelectionColumnId → const int
- kSelectionColumnWidth → const double
Typedefs
- CellEditorBuilder = Widget Function(BuildContext context, dynamic value, ValueChanged onChanged)
-
CellFormatter<
T extends DataGridRow> = String Function(T row, DataGridColumn< DataGridRow> column)