w_common 3.0.1 copy "w_common: ^3.0.1" to clipboard
w_common: ^3.0.1 copied to clipboard

SDKDart

General utilities for Dart projects.

3.0.0 #

  • Migrate to null-safety.

2.1.1 #

  • Implement _ObservableTimer.tick, which allows timers created via Disposable.getManagedTimer and Disposable.getManagedPeriodicTimer to be controlled by the fake_async package.

2.0.0 #

June 14, 2022

Breaking Changes:

  • Removes sass compilation tool from w_common. Use w_common_tools instead.
  • Removes DisposableManager, DisposableManagerV2, DisposableManagerV3, DisposableManagerV4, DisposableManagerV5, and DisposableManagerV6. Use DisposableManagerV7 instead.
  • Removes w_common.dart entrypoint. Use the specific entrypoint related to the pieces of w_common you want to use instead. For example, package:w_common/disposable.dart.
  • Changes to Cache:
    • Removes keys getter. Use liveKeys and releasedKeys instead.
    • Removes values getter. Use liveValues instead.
    • Removes containsKey method. Use .contains on liveKeys and releasedKeys instead.
  • Changes to Disposable:
    • Removes isDisposedOrDisposing. Use isOrWillBeDisposed instead. This also returns true when the Disposable instance is in the "awaiting disposal" state that is entered as soon as [dispose] is called.
    • Removes isDisposing. Use isOrWillBeDisposed instead.
    • Removes manageAndReturnDisposable. Use manageAndReturnTypedDisposable instead.
    • Removes manageDisposer. Use getManagedDisposer instead.
    • Removes manageStreamSubscription. Use listenToStream instead.

1.21.8 #

June 2, 2022

  • Added w_common_tools as a separate package.
1
likes
60
pub points
89%
popularity

Publisher

verified publisherworkiva.com

General utilities for Dart projects.

Repository
View/report issues
Contributing

Documentation

API reference

License

unknown (LICENSE)

Dependencies

intl, js, logging, meta

More

Packages that depend on w_common