Package 

Class LottieDynamicPropertiesKt

    • Method Detail

      • rememberLottieDynamicProperty

        @Composable() final static <T extends Any> LottieDynamicProperty<T> rememberLottieDynamicProperty(T property, T value, String keyPath)

        Use this to create a single dynamic property for an animation.

        Parameters:
        property - should be one of com.airbnb.lottie.LottieProperty.
        value - the desired value to use as this property's value.
        keyPath - the string parts of a com.airbnb.lottie.model.KeyPath that specify which animation element the property resides on.
      • rememberLottieDynamicProperty

        @Composable() final static <T extends Any> LottieDynamicProperty<T> rememberLottieDynamicProperty(T property, String keyPath, Function1<LottieFrameInfo<T>, T> callback)

        Use this to create a single dynamic property for an animation.

        Parameters:
        property - Should be one of com.airbnb.lottie.LottieProperty.
        keyPath - The string parts of a com.airbnb.lottie.model.KeyPath that specify which animation element the property resides on.
        callback - A callback that will be invoked during the drawing pass with current frame info.