DrawState

data class DrawState(val stories: List<DrawStory> = emptyList(), val focus: Int? = null)

The state of document of the TextEditor of Writeopia. This class has all the stories in their updated state and which one has the current focus.

Constructors

Link copied to clipboard
constructor(stories: List<DrawStory> = emptyList(), focus: Int? = null)

Properties

Link copied to clipboard
val focus: Int? = null
Link copied to clipboard