Grid Options
data class GridOptions(val columns: Int = 2, val rows: Int = 2, val items: List<GridItem>? = null, val style: ComponentStyle = ComponentStyle(), val spacing: Float = 8.0f, val aspectRatio: Float = 16f / 9f, val alignment: Alignment = Alignment.Center, val justifyContent: Alignment = Alignment.Center, val backgroundColor: Color = Color.Transparent, val padding: EdgeInsets = EdgeInsets.zero, val margin: EdgeInsets = EdgeInsets.zero, val borderRadius: Float = 0.0f, val borderWidth: Float = 0.0f, val borderColor: Color = Color.Transparent, val responsive: Boolean = true, val maxItemsPerRow: Int = 4, val minItemWidth: Float = 200.0f, val minItemHeight: Float = 150.0f)
Configuration options for the Grid component.
Constructors
Link copied to clipboard
constructor(columns: Int = 2, rows: Int = 2, items: List<GridItem>? = null, style: ComponentStyle = ComponentStyle(), spacing: Float = 8.0f, aspectRatio: Float = 16f / 9f, alignment: Alignment = Alignment.Center, justifyContent: Alignment = Alignment.Center, backgroundColor: Color = Color.Transparent, padding: EdgeInsets = EdgeInsets.zero, margin: EdgeInsets = EdgeInsets.zero, borderRadius: Float = 0.0f, borderWidth: Float = 0.0f, borderColor: Color = Color.Transparent, responsive: Boolean = true, maxItemsPerRow: Int = 4, minItemWidth: Float = 200.0f, minItemHeight: Float = 150.0f)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard