complete_story_view 0.0.4 copy "complete_story_view: ^0.0.4" to clipboard
complete_story_view: ^0.0.4 copied to clipboard

A Flutter package for creating smooth, full-screen story views with customizable animations and controls.

complete story view for Flutter #

A lightweight and customizable Flutter package for creating Instagram‑like story views. This package provides widgets to display multiple stories with built‑in progress bars, automatic transitions, and support for images and videos.


Screenshot_1765699096 Screenshot_1765699040 Screenshot_1765699055

✨ Features #

  • Display a list of story groups
  • Each group contains multiple story items
  • Supports image URLs (video support can be added similarly)
  • Built‑in progress indicator for each story
  • Fully customizable UI components

🚀 Usage #

Import the package:

import 'package:complete_story_view/story_package.dart';

Use the StoryListWidget to display multiple story groups:

StoryListWidget(
  storyViewList: [
    StoryView(
      progressBarHeight: 8.0,
      storyChildren: [
        StoryWidget(url: "https://picsum.photos/id/237/536/354.jpg"),
        StoryWidget(
          url:
              "https://www.shutterstock.com/image-photo/demo-text-message-magnifying-glass-600nw-2491336635.jpg",
        ),
        // StoryWidget(
        //   url:
        //       "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
        // ),
      ],
    ),
    StoryView(
      progressBarHeight: 8.0,
      storyChildren: [
        StoryWidget(
          url:
              "https://www.shutterstock.com/image-photo/demo-text-message-magnifying-glass-600nw-2491336635.jpg",
        ),
        StoryWidget(url: "https://picsum.photos/id/237/536/354.jpg"),
      ],
    ),
  ],
)

📁 Widgets Overview #

StoryListWidget #

A horizontal scrollable list of story groups.

Properties:

  • storyViewList: List of story groups (StoryView).

StoryView #

Represents a single story group with multiple items.

Properties:

  • storyChildren: List of stories (StoryWidget).
  • progressBarHeight: Height of the progress indicator.

StoryWidget #

A single story item — currently supports images.

Properties:

  • url: Image or video URL.

🎨 Customization #

You can extend or modify the widgets to:

  • Add video playback
  • Change animation speed
  • Customize progress bar appearance
  • Add gestures (long press, swipe, pause, etc.)

📝 Notes #

  • Network images require proper permissions on Android & iOS.
  • Video support is commented in your example but can be enabled by integrating a video player.

🤝 Contributing #

Pull requests are welcome! If you’d like to report bugs or request features, open an issue in the repository.


📄 License #

MIT License © 2025

5
likes
140
points
336
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for creating smooth, full-screen story views with customizable animations and controls.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, video_player

More

Packages that depend on complete_story_view