You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your working, i have used super_tooltip of version 0.9.6, it really helps me. Now when i tried to use the newest version in my new project, there is compilation error.
Compilation error:
super_tooltip-2.0.4/lib/src/super_tooltip.dart:201:29: Error: Property 'context' cannot be accessed on 'OverlayState?' because it is potentially null.
super_tooltip-2.0.4/lib/src/super_tooltip.dart:351:25: Error: Method 'insertAll' cannot be called on 'OverlayState?' because it is potentially null.
The text was updated successfully, but these errors were encountered:
@UKOM Pls can u share your code, so I will able to help on this? Thanks
There is nothing special, you can just run the sample code in README.md, and before that, make sure your flutter version is 3.3.10. I have tried to replace overlay.of(context) with overlay.of(context)? in lib/src/super_tooltip.dart source file, it then just works fine.
Thanks for your working, i have used super_tooltip of version 0.9.6, it really helps me. Now when i tried to use the newest version in my new project, there is compilation error.
super_tooltip package version: 2.0.4
flutter version: 3.3.10
Compilation error:
super_tooltip-2.0.4/lib/src/super_tooltip.dart:201:29: Error: Property 'context' cannot be accessed on 'OverlayState?' because it is potentially null.
super_tooltip-2.0.4/lib/src/super_tooltip.dart:351:25: Error: Method 'insertAll' cannot be called on 'OverlayState?' because it is potentially null.
The text was updated successfully, but these errors were encountered: