DVTableColumn<T> class

One column: its heading, how to read a cell out of a row, and optionally how to sort by it.

Constructors

DVTableColumn({required String label, required String value(T row), int compare(T a, T b)?, double? width})
const

Properties

compare → int Function(T a, T b)?
Sorting is opt-in per column.
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sortable → bool
no setter
value → String Function(T row)
The cell text for a row.
final
width → double?
final

Methods

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

Operators

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