advstory 0.1.0 advstory: ^0.1.0 copied to clipboard
A complete story viewer package with lots of controls and customizations.
0.0.1 #
- 🎉 first release!
0.0.1+1 #
- Readme image source change
0.0.1+2 #
- Readme change, again...
0.1.0 #
This version has breaking changes.
- All
*story
has been renamed*content
and all*cluster
has been renamed*story
:Cluster
asStory
clusterBuilder
asstoryBuilder
clusterCount
asstoryCount
storyBuilder
ascontentBuilder
ImageStory
asImageContent
VideoStory
asVideoContent
- And related controller methods...
TrayStyle
has been renamed asTrayListStyle
hideBars
parameter moved toAdvStoryStyle
fromAdvStory
widget.- Removed
storyIndex
andclusterIndex
fromAdvStoryController
and addedposition
. - A brand new logic has been created to give more flexibility to custom story contents.
- Removed
WidgetStory
and implemented 2 new way to create custom story contents:StoryContent
is an abstract class that gives the full power ofAdvStory
to the developer.StoryContent
is super class of built-in types, this means you can use any required method by extending this class.SimpleCustomContent
is a custom story content using resources that can be loaded simultaneously. Eg text, asset image...
- Added
timeout
anderrorBuilder
parameters to video content and image content. - Added a parameter to set duration for each story except
VideoContent
. You can now set duration for every single story content! - Removed
setVolume
method fromAdvStoryController
. You can now extendStoryContent
to create customized controls. - Added two new parameters to
AdvStory
widget to disable preloading. - Default loading screen has changed. Shimmer effect was causing a lag.
- Fixed a bug that caused the story to not start when the first content was custom content.
- Improved documentation and example project.