TextItemDrawer

actual class TextItemDrawer(modifier: Modifier, customBackgroundColor: Color, clickable: Boolean, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, startContent: (StoryStep, DrawInfo) -> Unit?, messageDrawer: RowScope.() -> SimpleTextDrawer) : StoryStepDrawer

Drawer for a complex message with swipe action, drag and drop logic and a start content to add functionality like a checkbox or a different Composable.

expect class TextItemDrawer(modifier: Modifier = Modifier, customBackgroundColor: Color = Color.Transparent, clickable: Boolean = true, onSelected: (Boolean, Int) -> Unit = { _, _ -> }, dragIconWidth: Dp = 16.dp, startContent: @Composable (StoryStep, DrawInfo) -> Unit?, messageDrawer: @Composable RowScope.() -> SimpleTextDrawer) : StoryStepDrawer

Drawer for a complex message with swipe action, drag and drop logic and a start content to add functionality like a checkbox or a different Composable.

actual class TextItemDrawer(modifier: Modifier, customBackgroundColor: Color, clickable: Boolean, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, startContent: (StoryStep, DrawInfo) -> Unit?, messageDrawer: RowScope.() -> SimpleTextDrawer) : StoryStepDrawer

Drawer for a complex message with swipe action, drag and drop logic and a start content to add functionality like a checkbox or a different Composable.

actual class TextItemDrawer(modifier: Modifier, customBackgroundColor: Color, clickable: Boolean, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, startContent: (StoryStep, DrawInfo) -> Unit?, messageDrawer: RowScope.() -> SimpleTextDrawer) : StoryStepDrawer

Drawer for a complex message with swipe action, drag and drop logic and a start content to add functionality like a checkbox or a different Composable.

Constructors

Link copied to clipboard
actual constructor(modifier: Modifier, customBackgroundColor: Color, clickable: Boolean, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, startContent: (StoryStep, DrawInfo) -> Unit?, messageDrawer: RowScope.() -> SimpleTextDrawer)
expect constructor(modifier: Modifier = Modifier, customBackgroundColor: Color = Color.Transparent, clickable: Boolean = true, onSelected: (Boolean, Int) -> Unit = { _, _ -> }, dragIconWidth: Dp = 16.dp, startContent: @Composable (StoryStep, DrawInfo) -> Unit?, messageDrawer: @Composable RowScope.() -> SimpleTextDrawer)
actual constructor(modifier: Modifier, customBackgroundColor: Color, clickable: Boolean, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, startContent: (StoryStep, DrawInfo) -> Unit?, messageDrawer: RowScope.() -> SimpleTextDrawer)
actual constructor(modifier: Modifier, customBackgroundColor: Color, clickable: Boolean, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, startContent: (StoryStep, DrawInfo) -> Unit?, messageDrawer: RowScope.() -> SimpleTextDrawer)

Functions

Link copied to clipboard
open override fun Step(step: StoryStep, drawInfo: DrawInfo)

Draws the StoryStep including its DrawInfo

abstract fun Step(step: StoryStep, drawInfo: DrawInfo)

Draws the StoryStep including its DrawInfo

open override fun Step(step: StoryStep, drawInfo: DrawInfo)

Draws the StoryStep including its DrawInfo

open override fun Step(step: StoryStep, drawInfo: DrawInfo)

Draws the StoryStep including its DrawInfo