MaterialTreeComponent<T> constructor
MaterialTreeComponent<T> (
- @Optional() @SkipSelf() MaterialTreeRoot? parentTreeRoot,
- @Optional() @Self() MaterialTreeRenderingOptions? renderingOptions
Implementation
MaterialTreeComponent(
@Optional() @SkipSelf() MaterialTreeRoot? parentTreeRoot,
@Optional() @Self() this.renderingOptions)
: optimizeForDropdown = parentTreeRoot?.optimizeForDropdown == true {
selection = SelectionModel<T>.empty();
}