ProvidableModifierLocal


ProvidableModifierLocals are ModifierLocals that can be used to provide values using a ModifierLocalProvider.

When you create an instance of a ProvidableModifierLocal, and want to prevent users of your library from providing new values but want to allow the values to be consumed, expose a ModifierLocal instead.

Summary

Public constructors

<T : Any?> ProvidableModifierLocal(defaultFactory: () -> T)
Cmn

Public constructors

ProvidableModifierLocal

<T : Any?> ProvidableModifierLocal(defaultFactory: () -> T)