NiceTreeGridColumn<T> constructor

const NiceTreeGridColumn<T>({
  1. required String title,
  2. required Widget valueBuilder(
    1. T item,
    2. int depth
    ),
  3. double? width,
  4. int flex = 1,
  5. bool sortable = false,
  6. Comparable sortBy(
    1. T item
    )?,
  7. Widget headerBuilder(
    1. String title
    )?,
})

Implementation

const NiceTreeGridColumn({
  required this.title,
  required this.valueBuilder,
  this.width,
  this.flex = 1,
  this.sortable = false,
  this.sortBy,
  this.headerBuilder,
});