DefaultCellRenderer<T extends DataGridRow> class
Default cell renderer implementation.
- Inheritance
-
- Object
- CellRenderer<
T> - DefaultCellRenderer
Constructors
- DefaultCellRenderer()
-
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.
override
-
buildEditor(
BuildContext context, T row, DataGridColumn< T> column, dynamic currentValue, void onValueChanged(dynamic newValue)) → Widget? -
Optional: Build custom editor widget
inherited
-
isCellEditable(
T row, DataGridColumn< T> column) → bool -
Optional: Determine if cell is editable
inherited
-
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