Config constructor
const
Config({
- DataType dataType = DataType.DataMap,
- String parentId = 'parentId',
- String value = 'value',
- String label = 'label',
- String id = 'id',
- String children = 'children',
- bool isCanSingleCheckParent = true,
- bool isSingleLeaf = false,
- bool isOnlySelectCurrentNode = false,
- 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
});