live_states 1.0.1
live_states: ^1.0.1 copied to clipboard
A high-performance, lightweight MVVM state management framework for Flutter with automatic dependency tracking via Zones.
1.0.0 #
Features #
- Automatic Dependency Tracking: Automatically identifies
LiveDatadependencies during the build process using DartZonemechanism. - Precise Local Rebuilds: Introduces
LiveScopeto minimize the rebuild range and boost performance. - MVVM Architecture: Clear isolation between View (
LiveWidget) and Business Logic (LiveViewModel). - Lifecycle Integration: Deep binding between
LiveViewModeland Flutter'sElementlifecycle (mount, unmount, etc.). - Reactive Data:
LiveData: Observable state with stream support.LiveCompute: Derived state (computed properties) with change verification to prevent unnecessary UI refreshes.
- Advanced Nodes:
Recoverable: Built-in state saving and recovery mechanism.Refreshable: Top-down cascading refresh support for complex node trees.
- Animation Support: Built-in
SingleTickerProviderMixinandTickerProviderMixinforLiveViewModel. - Dependency Injection:
LiveProviderfor shared state management across the widget tree. - Debug Tooling: Integrated
Debuggerwith detailed logging for state transitions and dependency tracking.