raii 0.3.1 copy "raii: ^0.3.1" to clipboard
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 addStatusListenerWithLifecycle to Animation<T>;
  • Add RaiiTimer - The wrapper class that manages the timer's lifecycle;
  • Add unregisterLifecycle method to the RaiiLifecycleAware;
  • Add withLifecycle extension to the Timer which return RaiiTimer;
  • Init alwaysAliveRaiiManager when created;
  • Typo addObserverWithLifeycle -> addObserverWithLifecycle;
  • Remove material and cupertino packages, now everything in the flutter;
  • Automatic unregister lifecycles when disposed;
  • Support all types that extends ChangeNotifier;
  • Add RaiiLifecycleHolderTracker and RaiiLifecycleHolderTrackerMixin for lifecycle objects that track their parent holder;
  • RaiiLifecycleMixin and RaiiManagerMixin now implements RaiiLifecycleHolderTracker.

0.2.0 #

  • Add RaiiLifecycleAwareWithContext;
  • RaiiStateMixin implements now RaiiLifecycleAwareWithContext.

0.1.0 #

  • Initial release.
12
likes
160
points
127
downloads

Publisher

verified publisherandrei.kabylin.dev

Weekly Downloads

Resource Acquisition Is Initialization (RAII) pattern for Dart, providing automated lifecycle management of resources.

Repository (GitHub)
View/report issues

Topics

#raii #lifecycle #resource-management #state-management

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on raii