Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample 2 Need to be updated #82

Closed
okok147 opened this issue Oct 7, 2019 · 2 comments
Closed

Sample 2 Need to be updated #82

okok147 opened this issue Oct 7, 2019 · 2 comments

Comments

@okok147
Copy link

okok147 commented Oct 7, 2019

Compiler message:
lib/weekly_challenge.dart:149:25: Error: The method 'BarAreaData' isn't defined for the class '_LineChartSample2State'.

  • '_LineChartSample2State' is from 'package:mobile_application_activity_03/weekly_challenge.dart' ('lib/weekly_challenge.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'BarAreaData'.
    belowBarData: BarAreaData(
    ^^^^^^^^^^^
    lib/weekly_challenge.dart:252:25: Error: The method 'BarAreaData' isn't defined for the class '_LineChartSample2State'.
  • '_LineChartSample2State' is from 'package:mobile_application_activity_03/weekly_challenge.dart' ('lib/weekly_challenge.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'BarAreaData'.
    belowBarData: BarAreaData(show: true, colors: [
    ^^^^^^^^^^^
@okok147
Copy link
Author

okok147 commented Oct 7, 2019

Should be 👍

belowBarData:BelowBarData

Instead of 👎
belowBarData: BarAreaData

@imaNNeo
Copy link
Owner

imaNNeo commented Oct 7, 2019

Hi buddy, BarAreaData is correct.
As I mentioned in the 0.3.3 version we had some BREAKING CHANGES, read about them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants