FLUTTER ECOSYSTEM

steevjames/stories-for-flutter

इंस्टाग्राम या व्हाट्सएप की स्टोरीज़ जैसे, फ्लटर पैकेज के लिए बहुत अनुकूलित करने योग्य स्टोरीज़।

flutter-कहानियाँ प्रोजेक्ट कवर
Stars
41
Forks
15
अंतिम पुश (UTC)
10 अग॰ 2025
प्रोजेक्ट स्थिति
सक्रिय
Steev James GitHub avatar
GITHUB User

Steev James ↗

Engineer, Backend, AI

भाषाएँC++DartCMakeSwiftCRubyKotlinHTMLObjective-C

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 6 आइटम
  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • web^1.1.1
  • plugin_platform_interface^2.0.2
  • flutter_testडेवलपमेंट{"sdk":"flutter"}
  • flutter_lintsडेवलपमेंट^5.0.0

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

Stories for Flutter

https://img.icons8.com/color/48/000000/flutter.png https://avatars1.githubusercontent.com/u/1609975?s=200&v=4

Visit on pub.dev.

A customizable flutter package that allows you to use Instagram like stories, or WhastApp like statuses in your Flutter app easily, made without using external dependencies.

Screenshots

https://github.com/steevjames/Stories-for-Flutter/blob/master/screenshots/1.jpg?raw=true https://github.com/steevjames/Stories-for-Flutter/blob/master/screenshots/2.jpg?raw=true https://github.com/steevjames/Stories-for-Flutter/blob/master/screenshots/3.jpg?raw=true https://github.com/steevjames/Stories-for-Flutter/blob/master/screenshots/4.jpg?raw=true https://github.com/steevjames/Stories-for-Flutter/blob/master/screenshots/5.jpg?raw=true

Using the package

Step 1: Import the package.

import  'package:stories_for_flutter/stories_for_flutter.dart';

Step 2: Call the stories plugin and use it. Can give Scaffold to each page, making it highly customizable.

  Stories(
    storyItemList: [
      // First group of stories
      StoryItem(
          name: "First Story", // Name of first story
          thumbnail: // Add icon to first story
          stories: [
            Page1(),
            Page2(),
          ]),
      // Second story group
      StoryItem(
          name: "Second Story", 
          thumbnail: // Add icon to first story
        stories: [
          Page1(),
          Page2(),
          Page3()
        ],
      ),
    ],
  );

Example:

Stories(
    displayProgress: true,
    storyItemList: [
      // First group of stories
      StoryItem(
          name: "First Story",
          thumbnail: NetworkImage(
            "https://assets.materialup.com/uploads/82eae29e-33b7-4ff7-be10-df432402b2b6/preview",
          ),
          stories: [
            // First story
            Scaffold(
              body: Container(
                decoration: BoxDecoration(
                  image: DecorationImage(
                    fit: BoxFit.cover,
                    image: NetworkImage(
                      "https://wallpaperaccess.com/full/16568.png",
                    ),
                  ),
                ),
              ),
            ),
            // Second story in first group
            Scaffold(
              body: Center(
                child: Text(
                  "Second story in first group !",
                  style: TextStyle(
                    color: Color(0xff777777),
                    fontSize: 25,
                  ),
                ),
              ),
            ),
          ]),
      // Second story group
      StoryItem(
        name: "2nd",
        thumbnail: NetworkImage(
          "https://www.shareicon.net/data/512x512/2017/03/29/881758_cup_512x512.png",
        ),
        stories: [
          Scaffold(
            body: Center(
              child: Text(
                "That's it, Folks !",
                style: TextStyle(
                  color: Color(0xff777777),
                  fontSize: 25,
                ),
              ),
            ),
          ),
        ],
      ),
    ],
  );