TreeColumn constructor

TreeColumn({
  1. required Widget widget,
  2. Widget? autoSizeWidget,
  3. double? autoSizeWidth,
  4. ColumnAutoSizeWidthBuilder? autoSizeWidthBuilder,
  5. Object? filterValue,
  6. required ValueNotifier<double?> width,
  7. required ValueNotifier<bool> visible,
  8. required ValueNotifier<bool> pinLeft,
  9. required ValueNotifier<bool> pinRight,
})

Creates a new instance of TreeColumn

Implementation

TreeColumn({
  required this.widget,
  Widget? autoSizeWidget,
  this.autoSizeWidth,
  this.autoSizeWidthBuilder,
  this.filterValue,
  required this.width,
  required this.visible,
  required this.pinLeft,
  required this.pinRight,
})  : autoSizeWidget = autoSizeWidget ?? widget,
      assert(!(pinLeft.value && pinRight.value), 'pinLeft and pinRight cannot both be true');