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

パッケージ詳細v1.0.4

pulse_x

Pulse X はミニステート管理です。4つの機能があります - ステート管理、コンテキストレスルーティング、依存性のインジェクション、リアクション(副作用)

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
13
いいね数
6
Pub ポイント
150

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

flutter pub add pulse_x

パッケージ概要

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

Pulse X は、シンプルさと効率性を目的とした軽量な状態管理ソリューションです。最小限のサイズで、状態管理、コンテキストレスなルーティング、依存性のインジェクション、反応処理(副作用)を統合しています。Flutter専用に設計されており、開発者がアプリの状態を管理し、コンテキストなしで画面間をナビゲートし、依存性をスムーズにインジェクトし、状態変化に応じて副作用をトリガーできるようにします。すべてが最小限のボイラープレートで実現可能です。大規模な状態管理ソリューションの代替として、中小規模のアプリに最適です。

用途

  • シンプルなアプリケーション状態管理
  • コンテキストフリーなナビゲーション
  • Flutter アプリにおける依存性の挿入
  • API呼び出しのような副作用の処理
  • プロバイダーやブロックの軽量な代替手段

主な機能

  • 最小限のボイラープレート
  • コンテキストなしのルーティング
  • 組み込みの依存性注入
  • 反応(副作用)サポート
  • クロスプラットフォーム互換性

適している対象

  • 初心者のFlutter開発者
  • 小規模から中規模のプロジェクト
  • 軽量な状態管理を必要とするアプリ
  • 複雑な状態ライブラリを避けたい開発者
  • 迅速なプロトタイピング

注意事項

  • 熟達したパッケージと比べてドキュメントが限られている
  • 非常に大規模なアプリケーションには適していない
  • 利用可能なコミュニティリソースが少ない
  • 高度な機能には習得の過程が必要になる場合があります
  • スケールでの本番環境での実績が少ない

元の README

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

Pulse-X State Management

Pulse-X Logo

Why Pulse-X?

Pulse-X is a light weight state management solution for your Flutter project.
🏹 Pulse-X's 3 Main Targets
🚀 PRODUCTIVITY | ⚖️ SCALABILITY | 🧩 MODULARITY

🎯 PRODUCTIVITY

Pulse-X is aimed to help you make your productivity high. It's intuitive and it won't take you long to build MVVM structure. You can write cleaner, more structural and more maintainable code.

🎯 SCALABILITY

Pulse-X is here to make your program's architecture highly scalable. You can easily make layer based architecture or feature based architecture. You can add new features or remove old features without worrying much about code duplication and complexity.

🎯MODULARITY

Without Modules, you can get headache and will probably end up in writing spaghetti code. Modules are easily attachable, detachable and switchable. But making modules isn't an easy task. But don't worry! Pulse-X will reduce your burden a lot. Pulse-X has built-in service locator. Therefore, you can inject your view models on your need so that your code can become less coupling and more cohesive. Pretty easy, right? 😉

Documentation

For more complete documentation, you can read here👉🏻 Pulse-X Documentation

Example

Source code of this example project can be found in example folder. More and more examples are coming....

Pulse-X Example

Installing Pulse-X

🚧🚧 Currently, Pulse-X is under construction.
To use Pulse-X from Pub,
Depend on it

Run this command:

With Flutter:

 $ flutter pub add pulse_x

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  pulse_x: ^1.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pulse_x/pulse_x.dart';
If you wanna manually use it from GitHub. Here's the guide.

In your project's pubspec.yaml file, under dependencies: section, use like this.

dependencies:
    pulse_x:
    git:
      url: https://github.com/YeLwinOo-Steve/pulse_x.git
      ref: master # master branch

Features

Pulse-X is mainly composed of ( 5 ) features.
  1. 💡 Simple Data Management
  2. 🌊 Stream Management
  3. 🔮 Future data Management
  4. 💉 Dependency Injection (DI)
  5. 🧭 Navigator

Usage

1. Simple data management
🎢 Iteratable data management
  • 📃 Documentation → https://ye-lwin-oo-1.gitbook.io/Pulse-X-state-management/state-management/collection-data
  • 👾 Example → https://github.com/YeLwinOo-Steve/rand_user
🌊 Stream data management
  • 📃 Documentation → https://ye-lwin-oo-1.gitbook.io/Pulse-X-state-management/state-management/stream-data
  • 👾 Example → https://github.com/YeLwinOo-Steve/stream_time
🔮 Future data management
  • 📃 Documentation → https://ye-lwin-oo-1.gitbook.io/Pulse-X-state-management/state-management/future-data
  • 👾 Example → https://github.com/YeLwinOo-Steve/posts
🚧 This documentation is under construction!! More are coming...

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

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