feedback_response 0.0.8 copy "feedback_response: ^0.0.8" to clipboard
feedback_response: ^0.0.8 copied to clipboard

A simple package that aims to provide a complete solution for communication between services inside your app.

0.0.8 #

  • ⚠️ Breaking: Changed default error FeedbackType to notification.

0.0.7 #

  • ✨ New: Added copyWith conditional message and title based on success.

0.0.6 #

  • ⚠️ Breaking: Fix fold bug.

0.0.5 #

  • ⚠️ Breaking: Removed FeedbackLevel.info from the FeedbackResponse.isSuccess equation.
    • ⚠️ Breaking: Improved FeedbackResponse.fold method to allow for returning values and renamed hasError to orElse to better reflect truth.
  • ✨ New: Added hasError to FeedbackResponse class.

0.0.4+3 #

  • ✨ New: Add fold method to the FeedbackResponse class, which conditionally executes one of two callbacks based on the isSuccess property. This simplifies the handling of both success and error cases in a single block without the need for multiple control structures.
  • ✨ New: Added result to the FeedbackResponse variants that did not have it yet.

0.0.4+2 #

  • Update readme.

0.0.4+1 #

  • Added generic copyWith<E> argument and withoutResult<E> method.

0.0.4 #

  • Update default feedback types.

0.0.3 #

  • Improve example project.

0.0.2 #

  • Improve example project.

0.0.1+1 #

  • Add example project.

0.0.1 #

  • Initial release.
1
likes
140
pub points
45%
popularity

Publisher

verified publishercodaveto.com

A simple package that aims to provide a complete solution for communication between services inside your app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on feedback_response