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

advstory のカバー
パッケージ詳細v0.2.1

advstory

高度で完全なストーリー閲覧機能。画像、動画、カスタムウィジェットコンテンツ、ジェスチャー、インターセプター、リスナー、マニピュレーターなど多数の機能をサポートしています。

AndroidiOSmacOS
30日間ダウンロード
2940
いいね数
119
Pub ポイント
130

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

flutter pub add advstory

パッケージ概要

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

advstory は、画像、動画、カスタムウィジェット、インタラクティブなジェスチャーをサポートする、Flutter用の包括的なストーリービューアです。インターセプター、リスナー、コンテンツマニピュレーターなどの高度な機能を備えており、開発者が豊かでダイナミックな物語体験を作成できるようにします。クロスプラットフォーム対応で、Android、iOS、macOSでスムーズに動作します。ストーリーの流れとユーザーインタラクションに対する細かい制御が可能で、没入型の物語インターフェースが必要なアプリに最適です。

用途

  • インタラクティブなストーリーフィード
  • ユーザーが生成したコンテンツが表示されます
  • 教育用マルチメディアプレゼンテーション
  • ソーシャルメディアのストーリー機能
  • 豊富なメディアを備えたアプリ内チュートリアル

主な機能

  • 画像および動画のサポート
  • カスタムウィジェットの統合
  • ジェスチャー認識
  • インターセプターとリスナー
  • コンテンツマニピュレーター
  • クロスプラットフォーム互換性

適している対象

  • ストーリーに基づいたアプリを開発する開発者
  • 豊かなメディアストーリーテリングを必要とするアプリ
  • ジェスチャー駆動型ナビゲーションを必要とするプロジェクト
  • カスタマイズ可能なストーリーフローを望むチーム
  • 教育またはソーシャルプラットフォーム

注意事項

  • 大規模なメディアアセットの取り扱いには注意が必要です
  • 複雑なコンテンツに対してパフォーマンス最適化が必要になる可能性があります
  • 適切な資産管理に依存する
  • 基本的な設定以外のドキュメントは限られている
  • 複数のストーリーレイヤーを管理する際の潜在的な複雑さ

元の README

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

"Buy Me A Coffee" pub package GitHub issues-closed

AdvStory 📸

Quite simple & Quite advanced

🚀 Advanced Story viewer for Flutter. Create and customize slideshow presentations similar to Instagram, TikTok and Snapchat stories. Supports image, video and custom story contents. Full control over stories for developer and smooth experience for users.

Features

➡️ High performance, minimum delays, preload and cache enabled. Works using builders, provides flexibility and lazy loading.

➡️ Story view can be in any shape, size and position or full-screen.

➡️ Predefined story types for images, videos and simple contents. But not limited to these types, allows you to use base class of predefined widgets. This literally makes the options endless.

➡️ Gestures for skip story, skip content, pause, resume and close.

➡️ Interceptors that block events and manipulate the story flow without being noticed by the app user.

➡️ A functional controller for listening interactions and skip stories/contents, pause, play and more...

➡️ Predefined highly customizable story tray. But you are not limited to that, you can create your own non-animated or animated trays, AdvStory handles animation.

➡️ Header and footer areas for predefined stories with customization option specific to a predefined story content.

➡️ Object based, you can create as many story views as you want within the same application.

➡️ Well documented, go to docs:

  • docs

What can I do using AdvStory?

  • Quite simple: when you don't need much customization, a fully functional story view is just 8 lines of code.
AdvStory(
  storyCount: 5,
  storyBuilder: (storyIndex) => Story(
    contentCount: 10,
    contentBuilder: (contentIndex) => const ImageContent(url: ""),
  ),
  trayBuilder: (index) => AdvStoryTray(url: ""),
);
  • Quite advanced: when you need more you can,
    • create stories asynchronously in storyBuilder, send some requests to your server!
    • create different story trays and tray animations for each story, trays can be any widget you want.
    • create different footer & header areas for each story contents.
    • create contents with different skip durations.
    • create your own contents, AdvStory provides ways to you for caching media and handling story logic.
    • disable gestures, jump to a position, hide and show header/footer areas, pause and resume story via controller.
    • block events and call your own callbacks instead default story flow actions via interceptor.
    • create story view using AdvStory.player to define opening animations, custom shape, size...
    • customize tray list, story progress indicator, loading screen.

If you find AdvStory useful, you can hit the like button and give a star to project on Github to motivate me or treat me with coffee to help me take time to develop this package.


🤝🏼 Supporters & Sponsors

Roadmap
Status Goal
🚀 Custom advanced contents
❌ Custom gestures
🚀 Decouple trays & player
❌ Web & Windows & MacOs & Linux support

Some screenshots:

カテゴリー

依存関係

依存関係一覧 3 件

ソースリポジトリ

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

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