storyly_flutter library Null safety

Classes

Media
This data class represents the media of a story.
Story
This data class represents a story inside a story group.
StoryCommentComponent
This data class represents the Comment component.
StoryComponent
This parent class represents the interactive components which users are interacted with.
StoryEmojiComponent
This data class represents the Emoji component.
StoryGroup
This data class represents a story group in the StorylyView.
StorylyParam
This class is used to customize the StorylyView
StorylyView
Storyly UI Widget
StorylyViewController
StoryPollComponent
This data class represents the Poll component.
StoryPromocodeComponent
This data class represents the Promocode component.
StoryQuizComponent
This data class represents the Quiz component.
StoryRatingComponent
This data class represents the Rating component.

Extensions

StorylyHexColor

Functions

getStorylyComponent(Map<String, dynamic>? json) StoryComponent?
storyGroupFromJson(List json) List<StoryGroup>

Typedefs

StorylyViewActionClickedCallback = void Function(Story story)
StorylyView action clicked callback
StorylyViewCreatedCallback = void Function(StorylyViewController controller)
StorylyView created callback
StorylyViewEventCallback = void Function(String event, StoryGroup? storyGroup, Story? story, StoryComponent? storyComponent)
StorylyView event callback
StorylyViewLoadedCallback = void Function(List<StoryGroup> storyGroups, String dataSource)
StorylyView loaded callback
StorylyViewLoadFailedCallback = void Function(String message)
StorylyView load failed callback
StorylyViewUserInteractedCallback = void Function(StoryGroup storyGroup, Story story, StoryComponent? storyComponent)
StorylyView user interacted callback