When adding the package and trying to run the app it gives this error:
No file or variants found for asset: packages/chartjs_flutter/assets/chart.umd.min.js.
The pubscpec.yaml is the following:
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
- resources/translations/
- resources/mocks/
- resources/images/
- resources/audio/
- packages/chartjs_flutter/assets/chart.umd.min.js
- packages/chartjs_flutter/assets/chart_template.html
When doing ls ~/.pub-cache/hosted/pub.dev/chartjs_flutter-1.0.0/assets/ the files are there:
chart_template.html chart.umd.min.js
Tried to work with the indentation but still not working.
When adding the package and trying to run the app it gives this error:
No file or variants found for asset: packages/chartjs_flutter/assets/chart.umd.min.js.
The pubscpec.yaml is the following:
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
- resources/translations/
- resources/mocks/
- resources/images/
- resources/audio/
- packages/chartjs_flutter/assets/chart.umd.min.js
- packages/chartjs_flutter/assets/chart_template.html
When doing ls ~/.pub-cache/hosted/pub.dev/chartjs_flutter-1.0.0/assets/ the files are there:
chart_template.html chart.umd.min.js
Tried to work with the indentation but still not working.