advstory 0.1.0 advstory: ^0.1.0 copied to clipboard
A complete story viewer package with lots of controls and customizations.
AdvStory 📸 #
Quite simple & Quite advanced
🚀 Advanced Story viewer for Flutter. Supports image, video and custom stories. Full control over stories for developer and smooth experience for users.
Features #
➡️ High performance, minimum delays, preload and cache enabled. Works using builders, provides flexibility and lazy loading.
➡️ Gestures for skip story, skip content, pause, resume and close.
➡️ A functional controller for manipulating story flow and listening for user interactions. Allows you to skip, pause, play and more...
➡️ Predefined story types for images, videos and simple contents. But not limited to these types, allows you to use base class of predefined widgets. This literally makes the options endless.
➡️ Different durations can be set for each story content.
➡️ Predefined highly customizable story tray. But you are not limited to that, you can create your own non-animated or animated trays, AdvStory
handles animation.
➡️ Header and footer areas for stories with customization option specific to a predefined story content.
➡️ Full screen option, hides status and navigation bars.
➡️ Object based, you can create as many story views as you want within the same application.
➡️ Well documented, go to docs:
What can I do using AdvStory? #
- Quite simple: when you don't need much customization, a fully functional story view is just 8 lines of code.
AdvStory(
storyCount: 5,
storyBuilder: (storyIndex) => Story(
contentCount: 10,
contentBuilder: (contentIndex) => const ImageContent(url: ""),
),
trayBuilder: (index) => AdvStoryTray(url: ""),
);
- Quite advanced: when you need more, you can:
- create your stories asynchronously in storyBuilder, send some requests to your server!
- create different story trays for each story, trays can be any widget you want.
- create custom story tray animations for each story.
- create different footer & header areas for each story contents.
- create contents with different skip durations.
- create your own contents,
AdvStory
provides ways to you for caching media and handling story logic. - control flow using
AdvStoryController
. - customize tray list, story progress indicator, loading screen, shimmer effect.
If you find
AdvStory
useful, you can hit the like button and give a star to project on Github to motivate me or treat me with coffee to help me take time to develop this package.
🤝🏼 Supporters & Sponsors #
null
😐
Roadmap #
Status | Goal |
---|---|
🚀 | Custom advanced contents |
❌ | Custom gestures |
❌ | Decouple trays & player |
❌ | Web & Windows & MacOs & Linux support |
Some screenshots: