Comment on page
This page contains information of AdvStory basic usage.
AdvStorywidget creates tray list, stories and contents lazily using
AdvStorywidget can't determine it's own size, put it inside
Following code creates 5 story, each containing 10 story content. For each story, a widget (tray) representing the story must be created.
storyBuilder: (storyIndex) => Story(
contentBuilder: (contentIndex) => const ImageContent(url: ""),
trayBuilder: (index) => AdvStoryTray(url: ""),
This 8 lines of code (with valid urls) inserts following widget to your screen and provides full story viewer functionality. Easy right?