FlowColumnOverflowScope


Scope for the overflow FlowColumn.

Summary

Public properties

Int

Total Number of Items displayed in the FlowColumn

Cmn
Int

Total Number of Items available to show in FlowColumn This includes items that may not be displayed.

Cmn

Inherited functions

From androidx.compose.foundation.layout.ColumnScope
Modifier

Align the element horizontally within the Column.

Cmn
Modifier
Modifier.alignBy(alignmentLineBlock: (Measured) -> Int)

Position the element horizontally such that the alignment line for the content as determined by alignmentLineBlock aligns with sibling elements also configured to alignBy.

Cmn
Modifier

Position the element horizontally such that its alignmentLine aligns with sibling elements also configured to alignBy.

Cmn
Modifier
Modifier.weight(
    weight: @FloatRange(from = 0.0, fromInclusive = false) Float,
    fill: Boolean
)

Size the element's height proportional to its weight relative to other weighted sibling elements in the Column.

Cmn
From androidx.compose.foundation.layout.FlowColumnScope
Modifier
@ExperimentalLayoutApi
Modifier.fillMaxColumnWidth(
    fraction: @FloatRange(from = 0.0, to = 1.0) Float
)

Have the item fill (possibly only partially) the max width of the widest item in the column it was placed in, within the FlowColumn.

Cmn

Public properties

shownItemCount

@ExperimentalLayoutApi
val shownItemCountInt

Total Number of Items displayed in the FlowColumn

totalItemCount

@ExperimentalLayoutApi
val totalItemCountInt

Total Number of Items available to show in FlowColumn This includes items that may not be displayed.

In ContextualFlowColumn, this matches the ContextualFlowColumn's itemCount parameter