CellRenderer<T extends DataGridRow> class abstract

Abstract base class for custom cell rendering.

Implement this to create custom cell widgets, editors, formatters, etc.

Implementers

Constructors

CellRenderer()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildCell(BuildContext context, T row, DataGridColumn<T> column, int rowIndex, CellRenderContext<T> renderContext) Widget
Builds a single cell widget.
buildEditor(BuildContext context, T row, DataGridColumn<T> column, dynamic currentValue, void onValueChanged(dynamic newValue)) Widget?
Optional: Build custom editor widget
isCellEditable(T row, DataGridColumn<T> column) bool
Optional: Determine if cell is editable
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited