WithValueCodeField

constructor(baseField: MutablePreviewLabField<Value>, valueCode: (Value) -> String)

Parameters

Value

The type of value this field holds

baseField

The underlying field to wrap

valueCode

A function that converts the current value to a Kotlin code string