value_state 2.0.1 copy "value_state: ^2.0.1" to clipboard
value_state: ^2.0.1 copied to clipboard

This Dart package simplifies the implementation of common data-fetching states (loading, success, error).

2.0.1 #

  • DOCS: added pattern matching and migration.

2.0.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
  • DOCS: added topics.

2.0.0-beta.1 #

Note: This release has breaking changes.

  • DOCS: simplify README.md.

2.0.0-beta.0 #

Note: This release has breaking changes.

  • BREAKING REFACTOR: class ValueState is replaced by Value.

1.5.1 #

  • FIX: close stream in perform.

1.5.0 #

  • REFACTOR: renamed to helpers.dart.
  • FIX: exception in BaseState.perform.
  • FEAT: added toFutureState and toStates extensions.
  • FEAT: added pretty print to states.
  • FEAT: added toValue.
  • DOCS: fix performOnState reference.

1.4.1 #

  • DOCS: fixed withValue naming.

1.4.0 #

  • FEAT: added orElse and whenValue.

1.3.0 #

  • FEAT: added extensions.

1.2.0 #

Initial version of the library.

5
likes
160
points
2.15k
downloads

Publisher

verified publisherdevobs.dev

Weekly Downloads

This Dart package simplifies the implementation of common data-fetching states (loading, success, error).

Homepage
Repository (GitHub)

Topics

#error #fetch #init #state #success

Documentation

API reference

License

MIT (license)

Dependencies

meta, stream_transform

More

Packages that depend on value_state