DataColumn class Null safety

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 DataTable.new constructor.

Annotations

Constructors

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

Properties

hashCode int
The hash code for this object.
read-onlyinherited
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
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
tooltip String?
The column heading's tooltip.
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited