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.

Static Properties

empty DataCell

A cell that has no content and has zero width and height.

read-only

Constructors

DataCell(Widget widget, { bool placeholder: false, bool showEditIcon: false, VoidCallback onTap })

Creates an object to hold the data for a cell in a DataTable.

const

Properties

onTap VoidCallback

Called if the cell is tapped.

read-only
placeholder bool

Whether the widget is actually a placeholder.

read-only
showEditIcon bool

Whether to show an edit icon at the end of the cell.

read-only
widget Widget

The data for the row.

read-only
hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

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