flutter_tree_pro 0.0.4 flutter_tree_pro: ^0.0.4 copied to clipboard
Flutter tree select widget.
packages #
Flutter tree select widget.
Screenshot #
Usage #
To use this plugin, add path_provider as a dependency in your pubspec.yaml file.
dependencies:
flutter_tree_pro: ^0.0.3
Use as a widget
FlutterTree(
listData: treeListData,
initialListData: initialTreeData,
config: Config(
parentId: 'parentId',
dataType: DataType.DataList,
label: 'value',
),
onChecked: (List<Map<String, dynamic>> checkedList) {
},
)
Property #
property | description |
---|---|
listData | The data source |
initialListData | The initial data source |
parentId | The key name of parent id |
dataType | The type of data source |
label | The key name of the value |
onChecked | The item checked callback function |