grouped_stories_view library
Classes
- ContrastHelper
- Concept source: https://stackoverflow.com/a/9733420
- GroupedStoriesView
- ImageLoader
-
Utitlity to load image (gif, png, jpg, etc) media just once. Resource is
cached to disk with default configurations of
DefaultCacheManager
. - IndicatorOval
-
NoAnimationMaterialPageRoute<
T> - PageBar
- Horizontal bar displaying a row of StoryProgressIndicator based on the pages provided.
- PageBarState
- PageData
- Capsule holding the duration and shown property of each story. Passed down to the pages bar to render the page indicators.
- StoryController
-
Controller to sync playback between animated child (story) views. This
helps make sure when stories are paused, the animation (gifs/slides) are
also paused.
Another reason for using the controller is to place the stories on
paused
state when a media is loading. - StoryImage
- Widget to display animated gifs or still images. Shows a loader while image is being loaded. Listens to playback states from controller to pause and forward animated media.
- StoryImageState
- StoryItem
- This is a representation of a story item (or page).
- StoryProgressIndicator
- Custom progress bar. Supposed to be lighter than the original ProgressIndicator, and rounded at the sides.
- StoryVideo
- StoryVideoState
- StoryView
- Widget to display stories just like Whatsapp and Instagram. Can also be used inline/inside ListView or Column just like Google News app. Comes with gestures to pause, forward and go to previous page.
- StoryViewState
- VideoLoader
Enums
- IndicatorHeight
- This is used to specify the height of the progress indicator. Inline stories should use small
- PlaybackState
- ProgressPosition
- Indicates where the progress indicators should be placed.