SimformSolutionsPvtLtd / flutter_showcaseview

Flutter plugin that allows you to showcase your features on flutter application. 👌🔝🎉
https://pub.dev/packages/showcaseview
MIT License
1.48k stars 433 forks source link

Null check operator used on a null value #449

Closed pamafe1976 closed 3 months ago

pamafe1976 commented 3 months ago

Hi, I'm getting several crashlytics reports linked to the ShowcaseWidget. Unfortunately theres not much in the stacktrace to help understanding whats going on. Apparently the error is happening only in IOS (to be confirmed)

I'm using the ShowcaseWidget in several screens in my app. I normally put it as parent of the Scaffold widget, since I showcase widgets both on body and on bottomNavigationBar.

Maybe someone with more knowledge of the package can suggest where the problem might be.

Regards

ShowCaseWidgetState.initRootWidget.<anonymous closure>
FlutterError - Null check operator used on a null value. Error thrown .

      Fatal Exception: FlutterError
0  App                            0x1e9197 ShowCaseWidgetState.initRootWidget.<anonymous closure> + 958 (framework.dart:958)
1  App                            0x4f1263 SchedulerBinding._invokeFrameCallback + 1392 (binding.dart:1392)
2  App                            0x4f1157 SchedulerBinding.handleDrawFrame + 1326 (binding.dart:1326)
3  App                            0x40a5b SchedulerBinding._handleDrawFrame (#2) + 1171 (binding.dart:1171)
4  App                            0x40933 SchedulerBinding._handleDrawFrame + 1153 (binding.dart:1153)
5  App                            0x34e4f invoke + 312 (hooks.dart:312)
6  App                            0x36bff PlatformDispatcher._drawFrame + 419 (platform_dispatcher.dart:419)
7  App                            0x36bc3 drawFrame + 283 (hooks.dart:283)
8  App                            0x36c2f drawFrame (#2) + 281 (hooks.dart:281)

Smartphone (please complete the following information):