MaterialTreeComponent<T> constructor

MaterialTreeComponent<T>(
  1. @Optional() @SkipSelf() MaterialTreeRoot? parentTreeRoot,
  2. @Optional() @Self() MaterialTreeRenderingOptions? renderingOptions
)

Implementation

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