Package-level declarations

Properties

Link copied to clipboard

Color Extension to obtain a random color with the Jetpack Compose format

Functions

Link copied to clipboard
Link copied to clipboard
fun Color.opacity(enabled: Boolean, opacity: Float = 0.62f): Color
Link copied to clipboard
fun Color?.orTransparent(defaultValue: Color = Color.Transparent): Color

Color Extension to show the original Color that we pass from the extension or in case of being null we will pass a default value. This default value can be the value you want or the defined one (this would be Color.Transparent)

Link copied to clipboard
Link copied to clipboard