その名の通り。
codemagicでビルドしてて気づいた。
出てたエラー
Building AOT snapshot in release mode (ios-release)...
Compiler message:
file:///Users/greenhouse/.pub-cache/hosted/pub.dartlang.org/bloc-0.8.4/lib/src/bloc.dart:24:44: Error: No named parameter with the name 'seedValue'.
_stateSubject = BehaviorSubject<State>(seedValue: initialState);
^^^^^^^^^
file:///Users/greenhouse/.pub-cache/hosted/pub.dartlang.org/rxdart-0.21.0/lib/src/subjects/behavior_subject.dart:49:11: Context: Found this candidate, but the arguments don't match.
factory BehaviorSubject({
^
Compiler terminated unexpectedly.
Failed to build /Users/greenhouse/tmp63sy_u0s.
Encountered error while building for device.
修正
diff --git a/pubspec.yaml b/pubspec.yaml
index 01b513e..31f8195 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -24,8 +24,8 @@ dependencies:
google_sign_in: ^4.0.0
firebase_core: ^0.3.0
flutter_facebook_login: ^1.2.0
- bloc: ^0.8.0
- flutter_bloc: ^0.5.0
+ bloc: ^0.9.3
+ flutter_bloc: ^0.7.0
meta: ^1.1.6
equatable: ^0.1.6