type 'Null' is not a subtype of type '_TrackballTemplateState' in type cast
When I click on my chart and release it, I get the above exception.
What is causing the above?
This is the full error to give more details:
ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: LateInitializationError: Field '_alwaysShow@73283885' has not been initialized.
#0 _TrackballTemplateState._alwaysShow (package:syncfusion_flutter_charts/src/chart/user_interaction/trackball_template.dart)
#1 _TrackballTemplateState.hideTrackballTemplate (package:syncfusion_flutter_charts/src/chart/user_interaction/trackball_template.dart:134:21)
#2 TrackballBehavior.hide.<anonymous closure> (package:syncfusion_flutter_charts/src/chart/user_interaction/trackball.dart:476:32)
#3 _rootRun (dart:async/zone.dart:1346:47)
#4 _CustomZone.run (dart:async/zone.dart:1258:19)
#5 _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
#6 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1202:23)
#7 _rootRun (dart:async/zone.dart:1354:13)
#8 _CustomZone.run (dart:async/zone.dart:1258:19)
#9 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1186:23)
#10 Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
#11 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:395:19)
#12 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:426:5)
#13 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
Thanks, the error is gone.