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

The argument type 'LineChart' can't be assigned to the parameter type 'Widget'. #111

Closed
Prrrince opened this issue Nov 14, 2019 · 1 comment

Comments

@Prrrince
Copy link

Prrrince commented Nov 14, 2019

I am getting The argument type 'LineChart' can't be assigned to the parameter type 'Widget'. Error
```
Expanded(

                          child:  Padding(

                      padding: const EdgeInsets.only(

                          right: 18.0, left: 12.0, top: 24, bottom: 12),

                      child: LineChart(

                        sampleData1(),

                        swapAnimationDuration: Duration(milliseconds: 250),

                      ))))
@Prrrince
Copy link
Author

i was using old version of fl_chart

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

1 participant