advstory
An advanced, complete story viewer. Has support for images, videos, custom widget contents, gestures, interceptors, listeners, manipulators and much more.
0.2.1
ertgrulll/advstory
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 weeks
Most releases are documented
notes for 5 of 6 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
6 releases · first in 2022
0 releases in the last 12 months
see the full history below
Release timeline
6 releases · May 2022 to Jul 2022Releases
latest 6-
0.2.120 Jul 2022Nothing published for this version
-
0.2.008 Jul 2022 -
0.1.010 Jun 2022Release notes
Open source →This release allows the developer to create custom contents using superclass of predefined contents. All changes can be found at changelog
Release notes
Open source →This version has breaking changes.
- All
*storyhas been renamed*contentand all*clusterhas been renamed*story:ClusterasStoryclusterBuilderasstoryBuilderclusterCountasstoryCountstoryBuilderascontentBuilderImageStoryasImageContentVideoStoryasVideoContent- And related controller methods...
TrayStylehas been renamed asTrayListStylehideBarsparameter moved toAdvStoryStylefromAdvStorywidget.- Removed
storyIndexandclusterIndexfromAdvStoryControllerand addedposition. - A brand new logic has been created to give more flexibility to custom story contents.
- Removed
WidgetStoryand implemented 2 new way to create custom story contents:StoryContentis an abstract class that gives the full power ofAdvStoryto the developer.StoryContentis super class of built-in types, this means you can use any required method by extending this class.SimpleCustomContentis a custom story content using resources that can be loaded simultaneously. Eg text, asset image...
- Added
timeoutanderrorBuilderparameters 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
setVolumemethod fromAdvStoryController. You can now extendStoryContentto create customized controls. - Added two new parameters to
AdvStorywidget 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.
0.2.0
This version has breaking changes
Breaking changes
StoryEvent.contentSkipreplaced withStoryEvent.nextContentandStoryEvent.previousContent.StoryEvent.storySkipreplaced withStoryEvent.nextStoryandStoryEvent.previousStory.IndicatorStyle'spaddingparameter type changed fromdoubletoEdgeInsets.
New Features
- Added interceptor support, you can now capture and block events and call custom callbacks before they happen.
- Decoupled tray list and player, #3.
AdvStory.playerconstructor allows to creating story view without tray list. Also this constructor doesn't force to full screen story view. Story view expands itself to fit it's parent. Story size, shape, position, opening animation and more can be adjusted. - Created
AdvStoryPlayerControllerforAdvStory.player. This controller provides additional methods to open and close story view.
Bug fixes
AdvStoryController'sjumpTomethod exception fixed. See #15 for more information.- Story view close on +Y drag fixed.
- Content skip on continuous taps fixed.
Enhancements
- Allowed to changing
storyCountby setting state to make story pagination possible, #14. - Removed unnecessary
AnimatedBuilders.
0.2.1
Bug fixes
- Fixed tray animation not start issue.
- Fixed story stop on page change cancel.
- Fixed story indicator progress on next story page.
- All
-
0.0.124 May 2022 -
0.0.1+124 May 2022 -
0.0.1+224 May 2022