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.
Constructors
- DataColumn({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.
read-only - numeric → bool
-
Whether this column represents numeric data or not.
read-only - onSort → DataColumnSortCallback
-
Called when the user asks to sort the table using this column.
read-only - tooltip → String
-
The column heading's tooltip.
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