KatTreeNodeData constructor

KatTreeNodeData({
  1. required String? title,
  2. required bool expanded,
  3. required bool checked,
  4. required bool displayRequired,
  5. required List<KatTreeNodeData>? children,
  6. Widget? childWidget,
  7. bool allowAdd = false,
  8. bool allowRemove = false,
  9. dynamic extra,
  10. Color? checkBoxCheckColor,
  11. WidgetStateProperty<Color>? checkBoxFillColor,
  12. ValueGetter<Color>? backgroundColor,
  13. List<Widget>? customActions,
})

Implementation

KatTreeNodeData({
  required this.title,
  required this.expanded,
  required this.checked,
  required this.displayRequired,
  required this.children,
  this.childWidget,
  this.allowAdd = false,
  this.allowRemove = false,
  this.extra,
  this.checkBoxCheckColor,
  this.checkBoxFillColor,
  this.backgroundColor,
  this.customActions,
});