Config constructor

const Config({
  1. DataType dataType = DataType.DataMap,
  2. String parentId = 'parentId',
  3. String value = 'value',
  4. String label = 'label',
  5. String id = 'id',
  6. String children = 'children',
  7. bool isCanSingleCheckParent = true,
  8. bool isSingleLeaf = false,
  9. bool isOnlySelectCurrentNode = false,
  10. String selectedCheckColor = "#0000FF",
})

Implementation

const Config(
    {this.dataType = DataType.DataMap,
    this.parentId = 'parentId',
    this.value = 'value',
    this.label = 'label',
    this.id = 'id',
    this.children = 'children',
    this.isCanSingleCheckParent = true,
    this.isSingleLeaf = false,
    this.isOnlySelectCurrentNode = false,
    this.selectedCheckColor = "#0000FF"
    // this.isForbid=false
    });