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
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)