LayoutFunctionN
A layout function for a container whose child count is not known until runtime.
Layout(pages.map { Page(it).key(it.id) }) { measurables, c -> … }Content copied to clipboard
Functions
Link copied to clipboard
The tallest this container would like to be at width, ignoring any upper bound.
Link copied to clipboard
The widest this container would like to be at height, ignoring any upper bound.
Link copied to clipboard
abstract override fun MeasureScope.measure(measurables: List<Measurable>, constraints: SizeConstraints)
Measure the children, then say how big this container is and where each child goes.
Link copied to clipboard
The shortest this container can be at width. The other axis of minIntrinsicWidth.
Link copied to clipboard
The narrowest this container can be at height without its content breaking out of it.