GroupedGridDefaults

Values a GroupedGrid falls back to when a caller does not choose its own.

Properties

Link copied to clipboard
const val Columns: Int = 2

Columns a grid lays its cells out in.

Link copied to clipboard

Silhouette the icon badge is cut with.

Link copied to clipboard

Radius of every corner inside the group, where two cells meet.

Link copied to clipboard

Gap between neighbouring cells, horizontally and vertically.

Link copied to clipboard
Link copied to clipboard
const val MinItemsForAd: Int = 2

Items a grid needs before it will place an ad row.

Link copied to clipboard

Radius of the four corners at the outside of the group.

Functions

Link copied to clipboard
fun colors(containerColor: Color = MaterialTheme.colorScheme.surfaceContainer, contentColor: Color = MaterialTheme.colorScheme.onSurface, iconContainerColor: Color = MaterialTheme.colorScheme.primaryContainer, iconContentColor: Color = MaterialTheme.colorScheme.onPrimaryContainer, subtitleColor: Color = MaterialTheme.colorScheme.onSurfaceVariant): GroupedGridColors

Grid colors, overridable one at a time.