FlutterTreePro constructor

FlutterTreePro({
  1. Key? key,
  2. List<Map<String, dynamic>> treeData = const <Map<String, dynamic>>[],
  3. Map<String, dynamic> initialTreeData = const <String, dynamic>{},
  4. Config config = const Config(),
  5. List<Map<String, dynamic>> listData = const <Map<String, dynamic>>[],
  6. List<Map<String, dynamic>> initialListData = const <Map<String, dynamic>>[],
  7. required dynamic onChecked(
    1. List<Map<String, dynamic>>
    ),
  8. bool isExpanded = false,
  9. bool isRTL = false,
  10. bool isSingleSelect = false,
  11. int initialSelectValue = 0,
})

Implementation

FlutterTreePro({
  Key? key,
  this.treeData = const <Map<String, dynamic>>[],
  this.initialTreeData = const <String, dynamic>{},
  this.config = const Config(),
  this.listData = const <Map<String, dynamic>>[],
  this.initialListData = const <Map<String, dynamic>>[],
  required this.onChecked,
  this.isExpanded = false,
  this.isRTL = false,
  this.isSingleSelect = false,
  this.initialSelectValue = 0,
}) : super(key: key);