When I longpress on the chart, I get the following exception.
══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════
The following _CastError was thrown while handling a gesture:
Null check operator used on a null value
When the exception was thrown, this was the stack:
#0 ContainerArea._performLongPress (package:syncfusion_flutter_charts/src/chart/base/chart_base.dart:3371:67)
#1 ContainerArea.build.<anonymous closure>.<anonymous closure> (package:syncfusion_flutter_charts/src/chart/base/chart_base.dart:2343:25)
#2 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:193:24)
#3 LongPressGestureRecognizer._checkLongPressStart (package:flutter/src/gestures/long_press.dart:714:11)
#4 LongPressGestureRecognizer.didExceedDeadline (package:flutter/src/gestures/long_press.dart:615:5)
#5 PrimaryPointerGestureRecognizer.didExceedDeadlineWithEvent (package:flutter/src/gestures/recognizer.dart:586:5)
#6 PrimaryPointerGestureRecognizer.addAllowedPointer.<anonymous closure> (package:flutter/src/gestures/recognizer.dart:530:41)
(elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
Handler: "onLongPress"
Recognizer:
LongPressGestureRecognizer#b1057
════════════════════════════════════════════════════════════════════════
I have no idea how to resolve this.
ok, the crash is due to missing series controller.