Skip to content
pubscout

story_view

0.16.6, released a year ago by degreat.co.uk

Display WhatsApp & Instagram-like stories or inline feeds with playback gestures.

Quiet but busy
$ flutter pub add story_view
Source repository

What it does

Displays customizable stories containing text, images, GIFs, and videos with built-in navigation gestures like pause, forward, and rewind. It can be used fullscreen or inline within lists and columns.

AI-written summary of version 0.16.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to build Instagram or WhatsApp style stories into your application.
  • You want to display inline story items inside lists or columns like a news app.

Skip it when

  • You require complex social network backend features; this package only handles the UI and playback viewing component.

Strengths

  • Supports still images, GIFs, and video playback with caching
  • Includes touch gestures for pause, rewind, and forward out of the box
  • Provides animated progress indicators for each story item

Weaknesses

  • Limited to story viewing components and may require custom UI styling to match specific design systems.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
4
final controller = StoryController();

@override
Widget build(context) {
  List<StoryItem> storyItems = [
    StoryItem.text(title: "Hello", backgroundColor: Colors.red),
    StoryItem.pageImage(url: "...", controller: controller),
  ];

  return StoryView(
    storyItems,
    controller: controller,
    repeat: true,
    onStoryShow: (s) {},
    onComplete: () {},
  );
}

Works with

Packages commonly used together with story_view: ones it builds on, ones built on it, and its own family.