KwikTimelineEntry

data class KwikTimelineEntry(val id: Any = Any(), val title: String? = null, val description: String? = null, val icon: Any? = null, val accentColor: Color? = null, val onClick: (KwikTimelineEntry) -> Unit = {}, val content: @Composable () -> Unit? = null)

Data class representing a single entry in the timeline

Parameters

id

Unique identifier for the timeline entry. Can be any type. Use it to identify the entry.

title

Optional title text for the timeline entry

description

Optional description text for the timeline entry

icon

Optional icon to be displayed in the timeline entry

accentColor

Optional color for the timeline entry indicator and connecting line

onClick

Optional callback when the timeline entry is clicked

content

Optional composable content to be displayed within the timeline entry

Constructors

Link copied to clipboard
constructor(id: Any = Any(), title: String? = null, description: String? = null, icon: Any? = null, accentColor: Color? = null, onClick: (KwikTimelineEntry) -> Unit = {}, content: @Composable () -> Unit? = null)

Properties

Link copied to clipboard
val accentColor: Color? = null
Link copied to clipboard
val content: @Composable () -> Unit? = null
Link copied to clipboard
val description: String? = null
Link copied to clipboard
val icon: Any? = null
Link copied to clipboard
val id: Any
Link copied to clipboard
Link copied to clipboard
val title: String? = null