CardLayoutItem

data class CardLayoutItem(val identifier: String, val aspectRatio: Double = DEFAULT_ASPECT_RATIO)

Information about a card required for layout and positioning calculations.

Constructors

Link copied to clipboard
constructor(identifier: String, aspectRatio: Double = DEFAULT_ASPECT_RATIO)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the width-to-height aspect ratio of the card (e.g. 1.586 for credit card, 1.0 for square).

Link copied to clipboard

a unique identifier for the card.