FlagSize

class FlagSize(val width: Dp, val height: Dp)

Holds the size of a country flag image.

This class is intentionally not a data class to preserve binary compatibility when properties are added or reordered in future versions.

Parameters

width

The width of the flag in Dp.

height

The height of the flag in Dp.

Constructors

Link copied to clipboard
constructor(width: Dp, height: Dp)

Properties

Link copied to clipboard
val height: Dp
Link copied to clipboard
val width: Dp

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String