TrackSize

sealed class TrackSize : GridEntry(source)

Represents all possible size values that can be used to configure a CSS grid track.

A track is the space between two grid lines -- it can be used for rows or columns based on context.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

A size which tells the track to be as small as possible while still fitting all of its contents.

Link copied to clipboard

Represents a track size which is fixed, either a length or percentage value (e.g. 100px, 40%).

Link copied to clipboard

Represents a track size which is a flex value (e.g. 1fr)

Link copied to clipboard

Like TrackSize but excludes flex values (e.g. 1fr).

Link copied to clipboard

A size which represents a range of values this track can be.

Functions

Link copied to clipboard
open override fun toString(): String