Package-level declarations
Functions
Link copied to clipboard
inline fun Modifier.conditional(condition: Boolean, ifTrue: Modifier.() -> Modifier, ifFalse: Modifier.() -> Modifier = { this }): Modifier
Apply a modifier only if a condition is met. Picked up and slightly modified from ProAndroiDev
Link copied to clipboard
Helper method to add test tag to a modifier only in debug builds.