safe_bloc 1.2.1 copy "safe_bloc: ^1.2.1" to clipboard
safe_bloc: ^1.2.1 copied to clipboard

An extension to bloc state management library that manages unexpected exceptions.

1.2.1 #

  • Fix nullability of trackingId in error handler

1.2.0 #

  • Use trackable package
  • UnexpectedError is now implementing GeneralTrackableError.
  • Breaking: Remove TrackingIdService. Use trackable package instead.
  • trackable package is re-exported with safe_bloc

1.1.0 #

  • errorMapper parameter added for mapping individual exceptions to bloc/cubit states
  • typdefs for callbacks added

1.0.2 #

  • Fix pub icons again 🤡.

1.0.1 #

  • Fix pub icons.

1.0.0 #

  • Add description of safeCallSync to README.

1.0.0-rc.3 #

  • Add synchronoussafeCallSync method to support cubits.

1.0.0-rc.2 #

  • UnexpectedErrorAPI renamed to -> UnexpectedErrorBase
  • bloc presentation test added for testing blocs and cubits with presentation
  • SafeBlocWithPresentation and SafeCubitWithPresentation added

1.0.0-rc.1 #

  • Initialize package.
6
likes
140
pub points
66%
popularity
screenshot

Publisher

verified publishernetglade.cz

An extension to bloc state management library that manages unexpected exceptions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bloc, bloc_presentation, bloc_test, diff_match_patch, flutter, flutter_bloc, meta, test, trackable, uuid

More

Packages that depend on safe_bloc