-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
App crashing in release for Bar chart graphs after upgrading to flutter 2.8.1 #864
Comments
Same issue. |
I have the same issue. It was very difficult to find out because the error does not occur in debug mode. Only release mode. This is a very minimalistic code to reproduce the bug:
Ive came accross this. Its an old topic but it says that putting an Expanded widget into a Listview may cause an error in release mode but not in debug mode. |
This only crashes on Android for me, iOS works fine. (Untested on web). Also reproducible when in profile mode |
Same issue, crashes since Flutter 2.8 for Android release build, using BarChart. Looks like issue from Flutter, using fl_chart older library (0.35.0) crash as well. Works fine if downgrade to Flutter 2.5.3. Related Flutter crash logs
|
I am also experiencing the same issue when I upgraded the flutter version to 2.8.1. |
I'm experiencing the same issue after Flutter 2.8.1 upgrade. Can we get an update from a dev on this issue? |
I also experienced this issue and fixed it by switching to the flutter beta channel. |
@imaNNeoFighT Can you give an estimate of when this could potentially be fixed? We're blocked from updating Flutter in our production app because of this crash. |
Instead of waiting for an update, we "solved" it by disabling grid (show: false) for all our charts for now. |
Hi guys. It seems to be related to this issue: #625 |
I was able to successfully build and run a BarChart (on Android) on the current flutter master channel. Thanks for the info! |
This comment has been minimized.
This comment has been minimized.
This issue should be fixed on the |
I missed this thread, totally forgot to check the updates on the issue. I had found the solution to make bar chart work in release long ago but forgot to update it here, those who are facing the issue can try setting gridData: FlGridData(
show: false,
), But this doesn't solve the issue, also by setting |
Thank you, @snghnishant. |
Can anybody confirm that this issues still exists or not? |
i have the issue yet
|
Our app uses fl_chart for drawing line and bar graphs, the app was working fine for the code that we have written for displaying bar graphs on the flutter prior to version 2.8 but after upgrading to version 2.8.0 then 2.8.1 app is crashing when we try to visit pages where we are displaying the bar graphs. This only happens in a release build and the app works fine in debug mode. We have firebase crashlytics in place but nothing is showing in the logs this is only happening in the release build and also there are no logs reported when I try to run the app in release mode with debug true in the android studio at app crash.
Below is the code snippet for the bar graph
Versions
2.8.1
^0.40.6
flutter doctor -v
The text was updated successfully, but these errors were encountered: