storyly_flutter library
Classes
- ProductInformation
- This data class represents the story product information.
- Story
- This data class represents a story inside a story group.
- StoryButtonActionComponent
- This data class represents the ButtonAction component.
- 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.
- StoryProductCardComponent
- This data class represents the ProductCatalog component.
- StoryProductCatalogComponent
- This data class represents the ProductCatalog component.
- StoryProductTagComponent
- This data class represents the ProductTag 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.
- StorySwipeActionComponent
- This data class represents the SwipeAction component.
- STRCart
- This data class represents a product cart
- STRCartItem
- This data class represents an item in product cart
- STRProductItem
- This data class represents a product
- STRProductVariant
- This data class represents a variant inside product
Functions
-
getStorylyComponent(
Map< String, dynamic> ? json) → StoryComponent? -
productInformationFromJson(
List json) → List< ProductInformation> -
storyGroupFromJson(
List json) → List< StoryGroup>
Typedefs
- StorylyOnProductCartUpdatedCallback = void Function(String event, STRCart? cart, STRCartItem? change, String responseId)
- StorylyView on product cart callback
- 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
-
StorylyViewOnProductHydrationCallback
= void Function(List<
ProductInformation> products) - StorylyView on product hydration callback
- StorylyViewSizeChanged = void Function(double width, double height)
- StorylyView size changed callback
- StorylyViewUserInteractedCallback = void Function(StoryGroup storyGroup, Story story, StoryComponent? storyComponent)
- StorylyView user interacted callback
- StoryProductEventCallback = void Function(String event)
- StorylyView on product event callback