Default
Deprecated
Migrate to normal default parameter expressions
Annotates a Property with an associated default expression. The expression is not type-checked and will be used verbatim in the generated code.
@Widget(1)
data class Button(
@Property(1) val text: String,
@Property(2) @Default("true") val enabled: Boolean,
)
Content copied to clipboard