Closed pt-rick closed 1 year ago
Looking at the original charts issues, this apparently is a carryover problem. In my case, there is a workaround by specifying the series type on the pie chart.
From...
return charts.PieChart(
to...
return charts.PieChart<String>(
Julian - First, thanks so much for taking this library on. Grateful for your efforts as it appears many else are as well!
This was likely introduced by the migration tool as I had several like instances with similar cases. Following null safety migration, our app is crashing when invoking a PieChart with the following error:
It's followed by asserts which I believe are due to it failing the render. e.g.:
Here's our code invoking the PieChart:
Flutter doctor: [√] Flutter (Channel stable, 3.13.3, on Microsoft Windows [Version 10.0.19045.3448], locale en-US) • Flutter version 3.13.3 on channel stable at C:\Users\Rick\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2524052335 (2 weeks ago), 2023-09-06 14:32:31 -0700 • Engine revision b8d35810e9 • Dart version 3.1.1 • DevTools version 2.25.0
Many thanks for looking into this. Rick