rodrigobastosv / loading_overlay

MIT License
122 stars 32 forks source link

Error: The method 'PopScope' isn't defined #69

Closed tkravchuk closed 10 months ago

tkravchuk commented 10 months ago

Using 3.0.4 I get this when trying to run build with flutter build ios:

Error (Xcode): ../../.pub-cache/hosted/pub.dev/loader_overlay-3.0.4/lib/src/loader_overlay.dart:196:9: Error: The method 'PopScope' isn't defined for the class
'_LoaderOverlayState'.

I followed the regular instructions to install the package flutter pub add loader_overlay, but no luck. Even tried flutter clean and re-installing all packages, but no luck with that either.

rodrigobastosv commented 10 months ago

I will update the sdk constraints of the package. It will only work on the newest Flutter version

tkravchuk commented 10 months ago

Ok, that makes sense. I am running an older flutter version right now. Flutter 3.13.9

Thanks.