charts_flutter-0.11.0/lib/src/behaviors/legend/legend_entry_layout.dart(134,45): error GD65BB2B6: The getter 'body1' isn't defined for the class 'TextTheme'. #676
Comments
Hi! Try like this:
Something seems to be wrong with pub.dartlang.org version. |
.pub-cache/hosted/pub.dartlang.org/charts_flutter-0.11.0/lib/src/behaviors/legend/legend_entry_layout.dart:134:45: Error: The getter 'body1' isn't defined for the class 'TextTheme'.
|
Did anyone find out solution for this? |
Yes, you can follow this one, instead of putting charts_flutter: ^version, you can use this below one
|
@Rajat130 Thanks. |
Works well. Thanks |
I got the following error after trying the solution |
Is better for me:
|
Suggested solution doesn't work for me. The command
|
I got the same error. Running these commands in the terminal fixed the error: git config --global http.postBuffer 500M |
charts 0.12 was released, you don't need the workaround anymore |
As per @rolandgeider, please use |
As mentioned by @vladimir-popolitov adding the following code to pubspec.yaml file works. |
That doesn't work for me ! |
charts_flutter-0.11.0/lib/src/behaviors/legend/legend_entry_layout.dart(134,45): error GD65BB2B6: The getter 'body1' isn't defined for the class 'TextTheme'.
The text was updated successfully, but these errors were encountered: