Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
sealed class Frame<out T>
Link copied to clipboard
@Immutable
class Scene<T> : Comparable<Scene<*>>
Link copied to clipboard
fun interface SceneContent<T>
Link copied to clipboard
fun interface SceneDecorator
Link copied to clipboard
fun interface SceneEnterTransition : Function1<AdvanceDirection, EnterTransition>
Link copied to clipboard
fun interface SceneExitTransition : Function1<AdvanceDirection, ExitTransition>
Link copied to clipboard
class SceneFormat(val size: IntSize, val density: Density)
Link copied to clipboard
@Stable
interface SceneScope<T>
Link copied to clipboard
@Stable
class Storyboard
Link copied to clipboard
sealed interface StoryboardBuilder

Functions

Link copied to clipboard
operator fun <T : Comparable<T>> Frame<T>.compareTo(other: Frame<T>): Int
Link copied to clipboard
Link copied to clipboard
fun <T, R> Frame<T>.map(transform: (T) -> R): Frame<R>
Link copied to clipboard
Link copied to clipboard
fun <T> SceneScope<T>.Render(content: SceneContent<T>)
Link copied to clipboard
fun SceneFormat.toDpSize(): DpSize
Link copied to clipboard
fun <T, R : T> Frame<R>.toState(start: T = when { sceneScope.states.isNotEmpty() -> sceneScope.states.first() else -> error("implicit conversion to state requires non-empty states") }, end: T = when { sceneScope.states.isNotEmpty() -> sceneScope.states.last() else -> error("implicit conversion to state requires non-empty states") }): T

fun <T> Frame<T>.toState(start: T, end: T): T

Converts the Frame of type T to just a value of type T; where start is the default representation for Frame.Start, and end is the default representation for Frame.End.