dry_bloc 1.1.0 copy "dry_bloc: ^1.1.0" to clipboard
dry_bloc: ^1.1.0 copied to clipboard

States and functions for bloc package that reduces boilerplate

1.1.0 #

  • feat: introducing DrySingleEventBloc and DryDataSingleVoidEventBloc, that will help you make your single event BLoCs even tinier

1.0.0 #

  • BREAKING refactor!: rethrow all the exceptions

  • BREAKING refactor!: make DryException implement Exception

  • feat: introduce maybeWhenDryException() extension method

    Example of usage:

      runZonedGuarded(
          () async {
              runApp(...);
          },
          (error, stack) {
              error.maybeWhenDryException(
                  // If you want to log to the Crashlytics only fatal exceptions
                  businessTyped: (error) {},
                  businessUntyped: (error) {},
                  orElse: (error) =>
                      FirebaseCrashlytics.instance.recordError(error, stack),
                  );
          },
      );
    

0.1.0+1 #

  • feat: initial commit 🎉
1
likes
160
points
132
downloads

Documentation

API reference

Publisher

verified publisherrepur.dev

Weekly Downloads

States and functions for bloc package that reduces boilerplate

Repository (GitHub)
View/report issues

Topics

#bloc #state-management

License

MIT (license)

Dependencies

bloc, equatable, meta

More

Packages that depend on dry_bloc