shrinkWrap property
Whether the tree view should size itself to its content.
Type: bool
, default: false
. When true, the tree takes only the space
needed for its content instead of expanding to fill available space.
Implementation
final bool shrinkWrap;