checkScrollableContainerConstraints
Source set: Common
public fun checkScrollableContainerConstraints(constraints: Constraints, orientation: Orientation)
Parameters
| constraints | Constraints used to measure the scrollable container |
| orientation | orientation of the scrolling |
Throws: IllegalStateException
if the container was measured with the infinity constraints in the direction of scrolling. This usually means nesting scrollable in the same direction containers which is a performance issue and is discouraged.