cell

abstract fun cell(width: ColumnWidth = ColumnWidth.Auto, fps: Int = textFps, align: TextAlign? = null, verticalAlign: VerticalAlign? = null, content: ProgressState<T>.() -> Widget)

Add a cell to this layout.

The content will be called every time the cell is rendered. In the case of animations, that will usually be at its fps.

Parameters

width

The width of the cell.

fps

The number of times per second to refresh the cell when animated. If 0, the cell should not be refreshed.

align

The text alignment for the cell when multiple tasks are present and cells are aligned, or null to use the default.

verticalAlign

The vertical alignment for the cell if there are other taller cells in the layout, or null to use the default.

content

A lambda returning the widget to display in this cell.