🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

mutableDoubleStateOf

Return a new MutableDoubleState initialized with the passed in value The MutableDoubleState class is a single value holder whose reads and writes are observed by Compose.

mutableDoubleStateOf

Source set: Common
public fun mutableDoubleStateOf(value: Double): MutableDoubleState

Return a new MutableDoubleState initialized with the passed in value

The MutableDoubleState class is a single value holder whose reads and writes are observed by Compose. Additionally, writes to it are transacted as part of the Snapshot system. On the JVM, values are stored in memory as the primitive double type, avoiding the autoboxing that occurs when using MutableState<Double>.

Parameters

value the initial value for the MutableDoubleState