kranfix / riverbloc

`flutter_bloc` implemented with `riverpod` instead of `provider`.
83 stars 16 forks source link

Error when building with the latest Riverpod version. #79

Closed biklas7 closed 1 year ago

biklas7 commented 1 year ago

Cannot build using the latest version riverpod: 2.2.0. The error is also present on pub.dev as the package did not pass static analysis.

: Error: Required named parameter 'allTransitiveDependencies' must be provided.
auto_dispose_bloc_provider_family.dart:26
  }) : super(providerFactory: AutoDisposeBlocProvider.new);
            ^
: Error: The superclass, 'ProviderBase<S>', has no unnamed constructor that takes no arguments.
bloc_notifier_provider.dart:85
  _BlocProviderBase({
  ^^^^^^^^^^^^^^^^^
: Error: Required named parameter 'allTransitiveDependencies' must be provided.
bloc_provider_family.dart:24
  }) : super(providerFactory: BlocProvider.new);
            ^
kranfix commented 1 year ago

Published: https://pub.dev/packages/riverbloc/versions/2.1.0

kranfix commented 1 year ago

Fixed. Use riverbloc 2.1.0 to have compatibility with riverpod 2.2.0