DataColumn class

Column configuration for a DataTable.

One column configuration must be provided for each column to display in the table. The list of DataColumn objects is passed as the columns argument to the new DataTable constructor.

Annotations
  • @immutable

Constructors

DataColumn({@required Widget label, String tooltip, bool numeric: false, DataColumnSortCallback onSort })
Creates the configuration for a column of a DataTable. [...]
const

Properties

label Widget
The column heading. [...]
final
numeric bool
Whether this column represents numeric data or not. [...]
final
onSort DataColumnSortCallback
Called when the user asks to sort the table using this column. [...]
final
tooltip String
The column heading's tooltip. [...]
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 ==(dynamic other) bool
The equality operator. [...]
inherited