The data for a cell of a DataTable.

One list of DataCell objects must be provided for each DataRow in the DataTable, in the new DataRow constructor's cells argument.

Annotations
  • @immutable

Constructors

DataCell(Widget child, { bool placeholder: false, bool showEditIcon: false, VoidCallback onTap })
Creates an object to hold the data for a cell in a DataTable. [...]
const

Properties

child Widget
The data for the row. [...]
final
onTap VoidCallback
Called if the cell is tapped. [...]
final
placeholder bool
Whether the child is actually a placeholder. [...]
final
showEditIcon bool
Whether to show an edit icon at the end of the cell. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(other) bool
The equality operator. [...]
inherited

Static Properties

empty DataCell
A cell that has no content and has zero width and height.
final