NmColumn<T> constructor

const NmColumn<T>({
  1. required String id,
  2. required String label,
  3. required NmCell cell(
    1. T row
    ),
  4. double width = 8,
  5. String? sub,
  6. NmIconData? headerIcon,
  7. String? tooltip,
  8. bool numeric = false,
  9. bool sortable = false,
  10. int comparator(
    1. T a,
    2. T b
    )?,
  11. bool visibleByDefault = true,
  12. bool hideable = true,
})

Creates an NmColumn.

Implementation

const NmColumn({
  required this.id,
  required this.label,
  required this.cell,
  this.width = 8,
  this.sub,
  this.headerIcon,
  this.tooltip,
  this.numeric = false,
  this.sortable = false,
  this.comparator,
  this.visibleByDefault = true,
  this.hideable = true,
});