jonataslaw / getx

Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
MIT License
10.26k stars 1.61k forks source link

BIG BUG #3220

Open badshamasala opened 1 day ago

badshamasala commented 1 day ago

Warning: In index.html:37: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead. See
https://docs.flutter.dev/platform-integration/web/initialization for more details. Warning: In index.html:46: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details. ../../AppData/Local/Pub/Cache/hosted/pub.dev/get-4.6.5/lib/get_navigation/src/extension_navigation.dart:222:62: Error: The getter 'backgroundColor' isn't
defined for the class 'ThemeData'.

ZhuJHua commented 1 day ago

For the first two hints, it seems like just a warning, and may related to the version of flutter. You can try running flutter clean and than build again. For error, you should update getx into newest version.