resource_widget 3.1.1 copy "resource_widget: ^3.1.1" to clipboard
resource_widget: ^3.1.1 copied to clipboard

Simplifies usage of the flutter `FutureBuilder` and `StreamBuilder` in combination with `Resource<T>` (of `resource_result` package).

3.1.1 #

  • Small fix for ResourceSnapshotBuilder.

3.1.0 #

  • If snapshot has no data or error nor is it loading, it now displays a text with the message "Snapshot has not data or error nor is it loading".

3.0.2 #

  • Small fix for ResourceBuilder.

3.0.1 #

  • Small fix for ResourceSnapshotBuilder.

3.0.0 #

  • Breaking Changes: handleFailure is now failureBuilder.

  • Update dependencies.

2.0.1 #

  • Update dependencies.

  • handleFailure is now passed from ResourceSnapshotBuilder to ResourceBuilder.

2.0.0 #

  • Breaking Changes: ResourceBuilder was renamed to ResourceSnapshotBuilder
  • and replaced by a different widget.

1.0.2 #

  • Add ``displayDataInWaitingState``` parameter

1.0.1 #

  • Fix error display bug.

1.0.0 #

  • Breaking Changes: Replaced Error handler by Failure handler.

  • Update dependencies.

0.0.3 #

  • General ResourceBuilder is available.

0.0.2 #

  • ResourceStreamBuilder is available.

0.0.1 #

  • ResourceFutureBuilder is available.
1
likes
140
points
479
downloads

Publisher

unverified uploader

Weekly Downloads

2024.07.08 - 2025.01.20

Simplifies usage of the flutter `FutureBuilder` and `StreamBuilder` in combination with `Resource<T>` (of `resource_result` package).

Documentation

API reference

License

MIT (license)

Dependencies

flutter, resource_result

More

Packages that depend on resource_widget