AnimatedPainter

data class AnimatedPainter(val painterProvider: (atEnd: Boolean) -> ERROR CLASS: Symbol not found for Painter) : SparkIcon

An icon represented by a composable painter provider.

This enables custom animated icons through Compose's animation system, providing maximum flexibility for complex animations and state-driven visuals. Particularly useful for Kotlin Multiplatform compatibility.

Constructors

Link copied to clipboard
constructor(painterProvider: (atEnd: Boolean) -> ERROR CLASS: Symbol not found for Painter)

Properties

Link copied to clipboard
val painterProvider: (atEnd: Boolean) -> ERROR CLASS: Symbol not found for Painter

A composable function that returns a Painter, receiving an atEnd parameter to control animation state