size

fun size(width: SizeSchema.Behavior.Horizontal = fillHorizontally(), height: SizeSchema.Behavior.Vertical = wrapVertically())

Sets the tile's width/height behavior.

Parameters

width

Horizontal sizing behavior, built with fillHorizontally, wrapHorizontally, fixedHorizontally, weightHorizontally, spanHorizontally or flexHorizontally. Defaults to fill.

height

Vertical sizing behavior, built with fillVertically, wrapVertically, fixedVertically, weightVertically, spanVertically or fillRowHeight. Defaults to wrap.