VitTableColumn constructor

VitTableColumn({
  1. required Widget title,
  2. void onSort(
    1. bool asc
    )?,
  3. double width = 150,
  4. int? flex,
  5. int priority = 1,
  6. EdgeInsets cellsPadding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
})

Implementation

VitTableColumn({
  required this.title,
  this.onSort,
  this.width = 150,
  this.flex,
  this.priority = 1,
  this.cellsPadding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
}) {
  assert(width.isFinite);
}