buildCreationExtras

inline fun buildCreationExtras(initialExtras: CreationExtras = EmptyCreationExtras, builderAction: MutableCreationExtrasBuilder.() -> Unit): CreationExtras

Builds a CreationExtras by populating a MutableCreationExtrasBuilder using the given builderAction. initialExtras will be copied into the resulting MutableCreationExtrasBuilder first. Then the builderAction will be applied to the MutableCreationExtrasBuilder.

Parameters

initialExtras

extras that will be filled into the resulting MutableCreationExtrasBuilder first.

builderAction

a lambda which will be applied to the MutableCreationExtrasBuilder.