NullableDpTransformer

Transformer for converting between nullable Dp values and their string representation. Empty strings are converted to null values.

Functions

Link copied to clipboard
open override fun fromString(string: String): Dp?

Converts a string back to a typed value.

Link copied to clipboard
open override fun toString(value: Dp?): String

Converts a value to its string representation.