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

MutableRemoteFloat

A mutable implementation of RemoteFloat.

Source set: Android
public class MutableRemoteFloat internal constructor(
    cacheKey: RemoteStateCacheKey,
    private var idProvider: (creationState: RemoteComposeCreationState) -> Float,
) : RemoteFloat(cacheKey), MutableRemoteState<Float>

A mutable implementation of RemoteFloat. It also implements MutableRemoteState<Float>.

Properties

constantValueOrNull

Source set: Android
public override val constantValueOrNull: Float?

Members

Companion

Source set: Android
public companion object

Functions

invoke

Source set: Android
public operator fun invoke(initialValue: Float): MutableRemoteFloat

Creates a new mutable state (allocates an ID).

Parameters

initialValue The initial value for the state.

Return

A new MutableRemoteFloat instance.

Content updated: