DesktopTextItemDrawer
class DesktopTextItemDrawer(modifier: Modifier, customBackgroundColor: Color, clickable: Boolean, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, config: DrawConfig, onDragHover: (Int) -> Unit, onDragStart: () -> Unit, onDragStop: () -> Unit, moveRequest: (Action.Move) -> Unit, startContent: @Composable (StoryStep, DrawInfo) -> Unit?, endContent: @Composable (StoryStep, DrawInfo, Boolean) -> Unit? = null, isDesktop: Boolean, messageDrawer: @Composable RowScope.() -> SimpleTextDrawer, tagDecoration: TagDecoration = DefaultTagDecoration) : 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, config: DrawConfig, onDragHover: (Int) -> Unit, onDragStart: () -> Unit, onDragStop: () -> Unit, moveRequest: (Action.Move) -> Unit, startContent: @Composable (StoryStep, DrawInfo) -> Unit?, endContent: @Composable (StoryStep, DrawInfo, Boolean) -> Unit? = null, isDesktop: Boolean, messageDrawer: @Composable RowScope.() -> SimpleTextDrawer, tagDecoration: TagDecoration = DefaultTagDecoration)