Create a new tree that can be expanded and collapsed. You can add children to the tree
with the addChild
method so that they appear in the tree.
Optional
title: string = ''The title of the tree.
Optional
expanded: boolean = falseWhether the tree is expanded.
Add a child widget to the tree.
A tree that can be expanded and collapsed, and can also have children.