TreeComponent constructor

const TreeComponent({
  1. required Map<String, dynamic> data,
  2. bool showRoot = false,
  3. String rootLabel = '.',
  4. TreeEnumerator enumerator = TreeEnumerator.normal,
  5. TreeStyleFunc? itemStyleFunc,
  6. RenderConfig renderConfig = const RenderConfig(),
})

Creates a TreeComponent with optional enumerator.

Implementation

const TreeComponent({
  required this.data,
  this.showRoot = false,
  this.rootLabel = '.',
  this.enumerator = TreeEnumerator.normal,
  this.itemStyleFunc,
  this.renderConfig = const RenderConfig(),
});