reactive_notifier library
A library for managing reactive state in Flutter applications.
This library provides classes and widgets to manage state reactively, ensuring a single instance of state per type and allowing for state changes to trigger UI updates efficiently.
Classes
-
AsyncState<
T> -
AsyncViewModelImpl<
T> - Base ViewModel implementation for handling asynchronous operations with state management.
-
ReactiveAsyncBuilder<
T> -
ReactiveBuilder<
T> -
ReactiveNotifier<
T> - A reactive state management solution that supports:
-
ReactiveStreamBuilder<
T> -
RepositoryImpl<
T> - Use for Repository
-
ServiceImpl<
T> - Use for Services
-
ViewModelImpl<
T> - ViewModelImpl Base ViewModel implementation with repository integration for domain logic and data handling. Use this when you need to interact with repositories and manage business logic. For simple state management without repository, use ViewModelStateImpl instead.
-
ViewModelStateImpl<
T> - ViewModelStateImpl Base ViewModel implementation for simple state management without repository dependencies. Use this when you only need to handle UI state without domain logic or data layer interactions. For cases requiring repository access, use ViewModelImpl instead.
Enums
- AsyncStatus
- State of asynd ata, example, success, error, etc this async state shouldbe inside of asynNotifier for value of type AsyncState.