Open firedevelop opened 5 years ago
Yes, I'm also having this issue. Quite confused.
I hope they can fix soon as possible, the carts are very nice.
On Fri, Feb 22, 2019 at 5:42 PM Kieron McIntyre notifications@github.com wrote:
Yes, I'm also having this issue. Quite confused.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/charts/issues/212#issuecomment-466461933, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab_7JZZBWsTaLwy82L-0OiNM9M_oj3P4ks5vQB3hgaJpZM4bJaw- .
switch to dev
channel until a new stable
is out (hopefully soon)
flutter channel dev
flutter doctor
To state the obvious, the issue is that Flutter 1.0.0 (channel stable) uses Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297), where 2.1.0-dev version is considered to be strictly smaller than 2.1.0, while "charts_flutter depends on charts_common [...] requires SDK version >=2.1.0".
@ascmp I see, by 'strictly smaller' you mean a lower version. So this package currently can't be used with Flutter's stable release.
As @zoechi suggests, I've been able to change to the Flutter beta channel (which is presumably more stable than dev) and I can use the charts package now. Thanks for your help!
Should be solved by now using stable channel.
upgrade Dart & Flutter version, the problem will be solved.
I got this error:
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
03-13 18:09:09.856 7779-7812/ I/flutter: The following assertion was thrown building NetworkLoadPage(dirty, state:
03-13 18:09:09.856 7779-7812/it.I/flutter: _NetworkLoadPageState#62f25):
03-13 18:09:09.856 7779-7812/it.I/flutter: type 'List<Series<dynamic, dynamic>>' is not a subtype of type 'List<Series<dynamic, num>>'
03-13 18:09:09.865 7779-7812/it.e I/flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
03-13 18:09:09.865 7779-7812/it.i I/flutter: more information in this error message to help you determine and fix the underlying cause.
03-13 18:09:09.866 7779-7812/it.I/flutter: In either case, please report this assertion by filing a bug on GitHub:
03-13 18:09:09.866 7779-7812/it I/flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md
I got the same error message after download the newer version. And solved it by deleting my previous flutter and dart on my environment path and assign a new flutter path to it.
I got this error:
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ 03-13 18:09:09.856 7779-7812/ I/flutter: The following assertion was thrown building NetworkLoadPage(dirty, state: 03-13 18:09:09.856 7779-7812/it.I/flutter: _NetworkLoadPageState#62f25): 03-13 18:09:09.856 7779-7812/it.I/flutter: type 'List<Series<dynamic, dynamic>>' is not a subtype of type 'List<Series<dynamic, num>>' 03-13 18:09:09.865 7779-7812/it.e I/flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially 03-13 18:09:09.865 7779-7812/it.i I/flutter: more information in this error message to help you determine and fix the underlying cause. 03-13 18:09:09.866 7779-7812/it.I/flutter: In either case, please report this assertion by filing a bug on GitHub: 03-13 18:09:09.866 7779-7812/it I/flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md
Be sure you are running the command as an admin:
Hello! I want to use these nice charts, but I have some issues. Please, can you help me?
I did flutter upgrade
here my pubspec.yaml:
I proyect are in the path:
Also I did flutter packages get
Please any help will be appreciate. Thanks so much!