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 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 FolderViewTextTheme textTheme, double linePaintWidth = 20.0, double iconSize = 20.0, double spacing = 8.0, double leftPadding = 0.0, double rightPadding = 16.0, double maxWidth = double.infinity})
→ double
-
Calculate the total content width of all nodes