Open Gioxxy opened 2 years ago
Widget crash on final int end = (start + count).clamp(start, widget.candles.length); with Invalid argument(s): 432 in _InteractiveChartState build function when i set the state with new candles data, cause start > widget.candles.length
final int end = (start + count).clamp(start, widget.candles.length);
Invalid argument(s): 432
A workaround is adding a unique key:
InteractiveChart( key: UniqueKey(),
Widget crash on
final int end = (start + count).clamp(start, widget.candles.length);
withInvalid argument(s): 432
in _InteractiveChartState build function when i set the state with new candles data, cause start > widget.candles.length