You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to get the flutter-redux example working with the Dart 2 preview, but I get the following error when I try to run it:
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building StoreConnector<int, String>(dirty):
The getter 'store' was called on null.
Receiver: null
Tried calling: store
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core/object_patch.dart:46:5) #1 StoreConnector.build (package:flutter_redux/flutter_redux.dart:156:44) #2 StatelessElement.build (package:flutter/src/widgets/framework.dart:3678:28)
Works fine when not activating the preview. The Flutter build I'm using is:
The tests / library are actually all good, but coverage isn't working. To get Redux working with Dart 2, please use the following until that's fixed up and I can publish 0.4.0:
I tried to get the flutter-redux example working with the Dart 2 preview, but I get the following error when I try to run it:
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building StoreConnector<int, String>(dirty):
The getter 'store' was called on null.
Receiver: null
Tried calling: store
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core/object_patch.dart:46:5)
#1 StoreConnector.build (package:flutter_redux/flutter_redux.dart:156:44)
#2 StatelessElement.build (package:flutter/src/widgets/framework.dart:3678:28)
Works fine when not activating the preview. The Flutter build I'm using is:
Flutter 0.1.5 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 3ea4d06340 (3 weeks ago) • 2018-02-22 11:12:39 -0800
Engine • revision ead227f118
Tools • Dart 2.0.0-dev.28.0.flutter-0b4f01f759
The text was updated successfully, but these errors were encountered: