Error details not displaying for custom code using fl_chart package

Custom Code

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:

  1. 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.

  2. I downgraded to fl_chart: ^0.40.0, and error details were displayed, but the errors were related to version compatibility issues.

  3. 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.

What have you tried so far?

What have you tried so far?

  1. Tried using fl_chart: ^0.69.0 with custom code, but no error details were shown.

  2. Downgraded to fl_chart: ^0.40.0, and error details were displayed, but they were related to version compatibility.

  3. Adjusted the code for fl_chart: ^0.40.0, but the error details were not displayed again.

Did you check FlutterFlow's Documentation for this topic?
No
1