List

constructor(model: M, itemVisualizer: ItemVisualizer<T, IndexedItem>? = null, selectionModel: SelectionModel<Int>? = null, fitContent: Set<Dimension> = setOf(Width, Height), scrollCache: Int = 0)(source)

Parameters

model

that holds the data for this List

itemVisualizer

that maps T to View for each item in the List

selectionModel

that manages the List's selection state

fitContent

determines whether the List scales to fit its items' width or total height

scrollCache

determining how many "hidden" items are rendered above and below the List's view-port. A value of 0 means only visible items are rendered, but quick scrolling is more likely to show blank areas.