{"repo":"blackmann/story_view","free":true,"listed":false,"github":"https://github.com/blackmann/story_view","clone":"git clone https://github.com/blackmann/story_view.git","description":"Story view for apps with stories.","language":"Dart","stars":469,"topics":["flutter","dart","andriod","ios"],"license":"BSD-3-Clause","category":"mobile-apps","readme_excerpt":"story view Story view for apps with stories. 🍟 Watch video demo here: story view demo 👨‍🚀 Demo project here: storyexample This a Flutter 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. Features 🕹 Still image, GIF and video support (with caching enabled) 📍 Gesture for pause, rewind and forward ⚜️ Caption for each story item 🎈 Animated progress indicator for each story item 📱 Fullscreen or inline And useful callback to perform meta functionalities including vertical swipe gestures. Installation To use this plugin, add story view as a dependency in your pubspec.yaml file. Usage Import the package into your code Look inside examples/example.dart on how to use this library. You can copy and paste the code into your main.dart and run to have a quick look. Basics Use StoryView to add stories to screen or view heirarchy. StoryView requires a list of StoryItem , each of which describes the view to be displayed on each story page, duration and so forth. This gives you the freedom to customize each page of the story. There are shorthands provided to create common pages. StoryItem.text is a shorthand to create a story page that displays only text. StoryItem.pageImage creates a story item to display images with a caption. StoryItem.inlineImage creates a story item that is intended to be displayed in a linear view hierarchy like List","default_branch":null,"files":null,"tree":[],"storefront":"/r/blackmann","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/blackmann/story_view/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}