A Dynamic treeview that can be build using dynamic parent/child relationship. It supports indefinite category/subcategory lists with horizontal and vertical scrolling
SinceDynamicTreeViewis build using data having parent/child relationship,
you must create a classmodelthatimplementsBaseModelandoverridesthemethodlikegetParentId(), getId() andgetTitle() andreturnappropriatevaluestomakeitwork.
ThemethodgetExtraData() hasalsobeenaddedjustin-caseifanyextradataisneededwhenchild/parentistapped.
data - List<BaseData> .TreeView will be build based on this data.This is a required field
config - Various Configuration options
onTap - Callback when tapped on parent/child widget
I spent weeks of my time developing this package. I really hope this saves you loads of time and i'd be glad to hear your feedback.Let me know if you find any bugs/issues.Thanks.