FlutterTreePro constructor

const FlutterTreePro({
  1. Key? key,
  2. Map<String, dynamic> treeData = const <String, dynamic>{},
  3. List<Map<String, dynamic>> listData = const <Map<String, dynamic>>[],
  4. Config config = const Config(),
  5. bool isNullCheckedNodeChecked = false,
  6. required bool isNotRootNode(
    1. Map<String, dynamic>,
    2. Config
    ),
  7. required dynamic onChecked(
    1. Map<String, dynamic>,
    2. List<Map<String, dynamic>>,
    3. bool
    ),
})

Implementation

const FlutterTreePro({
  Key? key,
  this.treeData = const <String, dynamic>{},
  this.listData = const <Map<String, dynamic>>[],
  this.config = const Config(),
  this.isNullCheckedNodeChecked = false,
  required this.isNotRootNode,
  required this.onChecked,
}) : super(key: key);