ReadableColumn<T> constructor

const ReadableColumn<T>(
  1. String label, {
  2. required Widget cell(
    1. BuildContext context,
    2. T value
    ),
  3. double? width,
  4. int flex = 1,
  5. ReadableAlign align = ReadableAlign.start,
  6. bool sortable = false,
  7. Comparable? sortKey(
    1. T value
    )?,
  8. ReadableColumnType type = ReadableColumnType.text,
  9. String copyText(
    1. T value
    )?,
})

Implementation

const ReadableColumn(
  this.label, {
  required this.cell,
  this.width,
  this.flex = 1,
  this.align = ReadableAlign.start,
  this.sortable = false,
  this.sortKey,
  this.type = ReadableColumnType.text,
  this.copyText,
});