getOrNull
Source set: Common
public fun <T> SemanticsPropertyProvider.getOrNull(key: SemanticsPropertyKey<T>): T?
Returns the value for key, or null if not present.
Parameters
| key | Property key to retrieve. |
Return
Value associated with key, or null if not present.
getOrNull
Source set: Common
public fun <T> SemanticsConfiguration.getOrNull(key: SemanticsPropertyKey<T>): T?
Retrieves the value for the given property, or null if the property is not present.