Package io.writeopia.sdk.drawer.content
Class SwipeMessageDrawer
-
- All Implemented Interfaces:
-
io.writeopia.sdk.drawer.StoryStepDrawer
public final class SwipeMessageDrawer implements StoryStepDrawer
Draw a text that can be edited. The edition of the text is both reflect in this Composable and also notified by onTextEdit. It is necessary to reflect here to avoid losing the focus on the TextField.
-
-
Constructor Summary
Constructors Constructor Description SwipeMessageDrawer(Modifier modifier, Modifier textModifier, Function2<String, Integer, Unit> onTextEdit, Function1<Action.DeleteStory, Unit> onDeleteRequest, TextCommandHandler commandHandler, Function2<Boolean, Integer, Unit> onSelected, Color customBackgroundColor, Boolean clickable, Function0<TextStyle> textStyle, Function2<RowScope, FocusRequester, SimpleMessageDrawer> simpleMessageDrawer)
-
Method Summary
-
-
Constructor Detail
-
SwipeMessageDrawer
SwipeMessageDrawer(Modifier modifier, Modifier textModifier, Function2<String, Integer, Unit> onTextEdit, Function1<Action.DeleteStory, Unit> onDeleteRequest, TextCommandHandler commandHandler, Function2<Boolean, Integer, Unit> onSelected, Color customBackgroundColor, Boolean clickable, Function0<TextStyle> textStyle, Function2<RowScope, FocusRequester, SimpleMessageDrawer> simpleMessageDrawer)
-
-
-
-