What I’m trying to achieve:
I’m attempting to use the fl_chart package to create a bar chart based on a list of dates and scores fetched from Firestore. I added fl_chart: ^0.69.0
(latest version) to the Pubspec Dependencies in FlutterFlow and tried to use it within a custom widget.
What I’ve tried:
I set
fl_chart: ^0.69.0
and pasted the provided code (attached below), but even though an error occurs, no error details are displayed in FlutterFlow.I downgraded to
fl_chart: ^0.40.0
, and error details were displayed, but the errors were related to version compatibility issues.After adjusting the code to fit
fl_chart: ^0.40.0
, the error messages were no longer displayed in FlutterFlow.
The issue:
When using the latest version (
fl_chart: ^0.69.0
), I get errors, but FlutterFlow does not show any error details, making it difficult to debug.Error details do show up when I use an older version, so I suspect there might be an issue with FlutterFlow itself or with how it's handling the latest version of the package.
What I’m hoping to resolve:
I'd like to know how I can get error details to properly display when using the latest version (
fl_chart: ^0.69.0
).Alternatively, I would appreciate advice on why the error details are not showing and how to address this issue.