raii 0.3.1
raii: ^0.3.1 copied to clipboard
Resource Acquisition Is Initialization (RAII) pattern for Dart, providing automated lifecycle management of resources.
0.3.1 #
- Update README.md.
0.3.0 #
- Add
addStatusListenerWithLifecycletoAnimation<T>; - Add
RaiiTimer- The wrapper class that manages the timer's lifecycle; - Add
unregisterLifecyclemethod to theRaiiLifecycleAware; - Add
withLifecycleextension to theTimerwhich returnRaiiTimer; - Init
alwaysAliveRaiiManagerwhen created; - Typo
addObserverWithLifeycle->addObserverWithLifecycle; - Remove
materialandcupertinopackages, now everything in theflutter; - Automatic unregister lifecycles when disposed;
- Support all types that extends
ChangeNotifier; - Add
RaiiLifecycleHolderTrackerandRaiiLifecycleHolderTrackerMixinfor lifecycle objects that track their parent holder; RaiiLifecycleMixinandRaiiManagerMixinnow implementsRaiiLifecycleHolderTracker.
0.2.0 #
- Add
RaiiLifecycleAwareWithContext; RaiiStateMixinimplements nowRaiiLifecycleAwareWithContext.
0.1.0 #
- Initial release.