PrismColumn<T> constructor

const PrismColumn<T>({
  1. required String label,
  2. required Widget cell(
    1. BuildContext context,
    2. T row,
    3. int index
    ),
  3. double? width,
  4. int flex = 1,
  5. bool numeric = false,
  6. bool alwaysVisible = false,
  7. int priority = 0,
  8. int sortComparator(
    1. T a,
    2. T b
    )?,
})

Creates a table column.

Implementation

const PrismColumn({
  required this.label,
  required this.cell,
  this.width,
  this.flex = 1,
  this.numeric = false,
  this.alwaysVisible = false,
  this.priority = 0,
  this.sortComparator,
});