SizeService class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
calculateContentHeight<T>({required List<Node<T>> nodes, double rowHeight = 40.0, double rowSpacing = 0.0, double topPadding = 0.0, double bottomPadding = 0.0})
→ double
-
Calculate the total content height of all visible nodes
-
calculateContentWidth<T>({required List<Node<T>> nodes, required FolderNodeTheme folderTheme, required ParentNodeTheme parentTheme, required ChildNodeTheme childTheme, required ExpandIconTheme expandIconTheme, double leftPadding = 0.0, double rightPadding = 16.0, double maxWidth = double.infinity})
→ double
-
Calculate the total content width of all nodes