Desktop Text Item Drawer
class DesktopTextItemDrawer(modifier: Modifier, customBackgroundColor: Color, clickable: Boolean, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, onDragHover: (Int) -> Unit, onDragStart: () -> Unit, onDragStop: () -> Unit, moveRequest: (Action.Move) -> Unit, 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.
Constructors
Link copied to clipboard
constructor(modifier: Modifier, customBackgroundColor: Color, clickable: Boolean, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, onDragHover: (Int) -> Unit, onDragStart: () -> Unit, onDragStop: () -> Unit, moveRequest: (Action.Move) -> Unit, startContent: @Composable (StoryStep, DrawInfo) -> Unit?, messageDrawer: @Composable RowScope.() -> SimpleTextDrawer)
Functions
Link copied to clipboard
Draws the StoryStep including its DrawInfo