TreeView constructor
const
TreeView({
- required List<
TreeData> data, - IconButton? leadingIcon,
- IconButton? childIcon,
- double offsetLeft = 24.0,
- Function? titleOnTap,
- Function? leadingOnTap,
- Function? trailingOnTap,
- double scrollOffset = 0.0,
- ScrollListener? scrollListener,
Implementation
const TreeView({
required this.data,
this.leadingIcon,
this.childIcon,
this.offsetLeft = 24.0,
this.titleOnTap,
this.leadingOnTap,
this.trailingOnTap,
this.scrollOffset = 0.0,
this.scrollListener
}) : assert(data != null);