Buscar pacotes, repositórios e categorias de apps

Repositório GitHubYeLwinOo-Steve/pulse_x

pulso_x

Pacote de gerenciamento de estado Pulse X para Flutter

Capa do projeto pulso_x
Estrelas
12
Forks
1
Último push (UTC)
4 de jun. de 2023
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

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...
Ye Lwin Oo GitHub avatar
Autor no GitHub

Ye Lwin Oo ↗

he who debugs

@rypelabsThailandSite oficial ↗
LinguagensDartC++CMakeHTMLCSwiftKotlinObjective-C

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 4 itens

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗