item

abstract fun item(id: String, initialColumn: Int, initialRow: Int, widthCells: Int = 1, heightCells: Int = 1, content: @Composable () -> Unit)(source)

Adds a standard, user-draggable widget node to the dashboard grid.

Parameters

id

Unique identifier string for the widget view instance.

initialColumn

Starting horizontal cell column index.

initialRow

Starting vertical cell row index.

widthCells

Total horizontal cell slots occupied.

heightCells

Total vertical cell slots occupied.

content

Composable slot lambda rendering the internal widget content.