pulse_x 1.0.1 pulse_x: ^1.0.1 copied to clipboard
Pulse X is the mini state management for all of your needs. It has four features - state management, context-less routing, dependency injection & reaction (alternative name - side effects)
Pulse State Management #
Why Pulse? #
Pulse is a light weight state management solution for your Flutter project. #
๐น Pulse's 3 Main Targets
๐ PRODUCTIVITY | โ๏ธ SCALABILITY | ๐งฉ MODULARITY #
๐ฏ PRODUCTIVITY
Pulse 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 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 will reduce your burden a lot. Pulse 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 Documentation
Example #
Source code of this example project can be found in
example
folder. More and more examples are coming....
Installing Pulse #
๐ง๐ง Currently, Pulse is under construction and is not available in pub so you'll have to manually use it from github. Here's the guide.
In your project's
pubspec.yaml
file, underdependencies:
section, use like this.
dependencies:
pulse:
git:
url: https://github.com/YeLwinOo-Steve/pulse.git
ref: master # master branch
Features #
Pulse is mainly composed of ( 5 ) features.
- ๐ก Simple Data Management
- ๐ Stream Management
- ๐ฎ Future data Management
- ๐ Dependency Injection (DI)
- ๐งญ Navigator
Usage #
1. Simple data management #
๐ข Iteratable data management
- ๐ Documentation โ https://ye-lwin-oo-1.gitbook.io/pulse-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-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-state-management/state-management/future-data
- ๐พ Example โ https://github.com/YeLwinOo-Steve/posts