Package-level declarations
Types
Link copied to clipboard
data class DrawConfig(val titleStyle: @Composable (FontFamily?) -> TextStyle = { font ->
MaterialTheme.typography.displaySmall.copy(
fontWeight = FontWeight.Bold,
color = MaterialTheme.colorScheme.onBackground,
fontFamily = font
)
}, val titlePlaceHolderStyle: @Composable () -> TextStyle = {
MaterialTheme.typography.displaySmall.copy(
fontWeight = FontWeight.Bold,
color = Color.LightGray
)
}, val textDrawerStartPadding: Int = 8, val textDrawerInnerStartPadding: Int = 4, val textVerticalPadding: Int = 0, val codeBlockStartPadding: Int = 8, val codeBlockHorizontalInnerPadding: Int = 12, val codeBlockVerticalInnerPadding: Int = 8, val checkBoxStartPadding: Int = 16, val checkBoxEndPadding: Int = 8, val checkBoxItemVerticalPadding: Int = 8, val listItemStartPadding: Int = 16, val listItemEndPadding: Int = 8, val listItemItemVerticalPadding: Int = 8, val selectedColor: @Composable () -> Color = { MaterialTheme.colorScheme.primary }, val selectedBorderColor: @Composable () -> Color = { MaterialTheme.colorScheme.primary })
Link copied to clipboard
Link copied to clipboard
data class DrawStory(val storyStep: StoryStep, val position: Int, val isSelected: Boolean = false, val cursor: Selection? = null, val extraInfo: Map<String, Any> = emptyMap())
Class meant to be draw in the screen. It contains both the information of a story step and meta information and the state of the TextEditor like if the message is selected
Link copied to clipboard