Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class WriteopiaStateManager(stepsNormalizer: UnitsNormalizationMap = StepsMapNormalizationBuilder.reduceNormalizations {
defaultNormalizers()
}, dispatcher: CoroutineDispatcher, coroutineScope: CoroutineScope = CoroutineScope(EmptyCoroutineContext), backStackManager: SnapshotBackstackManager, userRepository: UserRepository?, writeopiaManager: WriteopiaManager, val selectionState: StateFlow<Boolean>, keyboardEventFlow: Flow<KeyboardEvent>, documentRepository: DocumentRepository? = null, val supportedImageFiles: Set<String> = setOf("jpg", "jpeg", "png"), drawStateModify: (List<DrawStory>, Int) -> List<DrawStory> = StepsModifier::modify, permanentTypes: Set<Int> = setOf(StoryTypes.TITLE.type.number), listTypes: Set<Int> = setOf(
StoryTypes.CHECK_ITEM.type.number,
StoryTypes.UNORDERED_LIST_ITEM.type.number,
)) : BackstackHandler, BackstackInform
This is the entry class of the framework. It follows the Controller pattern, redirecting all the call to another class responsible for the part of the SDK requested.