パッケージ、リポジトリ、アプリカテゴリを検索

stories_for_flutter のカバー
パッケージ詳細v1.3.3

stories_for_flutter

Instagramのストーリーのように、WhatsAppのステータスのように、Flutterパッケージ用に高度にカスタマイズ可能なストーリー。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
146
いいね数
97
Pub ポイント
140

パッケージをインストール

flutter pub add stories_for_flutter

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

開発者がアプリ内にInstagram風のストーリーやWhatsAppのようなステータスを実装できる、非常にカスタマイズ可能なFlutterパッケージです。スムーズなトランジション、スワイプナビゲーション、画像・動画・テキストなどのカスタムストーリーコンテンツをサポートしています。クロスプラットフォーム対応で、Android、iOS、Web、macOS、Windows、Linuxでスムーズに動作します。柔軟なスタイル設定とイベントコールバックにより、ストーリー体験を完全に制御できます。ソーシャルアプリやメッセージングプラットフォーム、または動的でインタラクティブなストーリーフィードが必要なあらゆるアプリに最適です。

用途

  • ソーシャルメディアアプリ
  • メッセージングプラットフォーム
  • ユーザー・プロファイルのハイライト
  • インタラクティブコンテンツフィード
  • イベントカウントダウン
  • ブランドストーリーテリング

主な機能

  • スワイプ可能なストーリーのナビゲーション
  • カスタマイズ可能なストーリーUI
  • 画像および動画のサポート
  • クロスプラットフォーム互換性
  • ストーリー進行状況のイベントコールバック
  • テーマ付きの拡張可能なデザイン

適している対象

  • ソーシャル機能を開発する開発者
  • ユーザー参加ツールを必要とするアプリ
  • マルチメディアストーリーコンテンツを含むプロジェクト
  • 再利用可能なストーリーコンポーネントを望むチーム
  • 複数のプラットフォームをターゲットにするFlutterアプリ

注意事項

  • 大規模なメディアアセットの取り扱いには注意が必要です
  • 長いストーリー一覧の最適化が必要になる可能性があります
  • カスタムスタイルにはFlutterウィジェットに精通している必要があります
  • 限定された組み込みの分析またはトラッキング
  • 単純な静的コンテンツ表示には適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Stories for Flutter

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

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,
                ),
              ),
            ),
          ),
        ],
      ),
    ],
  );

カテゴリー

依存関係

依存関係一覧 2 件

  • plugin_platform_interface^2.0.2
  • web^1.1.1

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。