TableColumn<T> constructor

TableColumn<T>({
  1. String? key,
  2. String? keyLabel,
  3. required Widget label,
  4. String? tooltip,
  5. bool numeric = false,
  6. SortConfig? sortConfig,
  7. SearchConfig? searchConfig,
  8. FilterConfig<T>? filterConfig,
})

Implementation

TableColumn({
  this.key,
  this.keyLabel,
  required this.label,
  this.tooltip,
  this.numeric = false,
  this.sortConfig,
  this.searchConfig,
  this.filterConfig,
})  : assert(!(key == null && keyLabel != null), "key cannot be null when keyLabel is provided"),
      assert(!(searchConfig != null && filterConfig != null),
          "You cannot provide both filterConfig and filterConfig");