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
/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart:134:5: Error: Type 'PopInvokedWithResultCallback' not found.
PopInvokedWithResultCallback<T>? onPopInvoked,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart:90:11: Error: No named parameter with the name 'canPop'.
super.canPop,
^^^^^^
/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart:134:5: Error: 'PopInvokedWithResultCallback' isn't a type.
PopInvokedWithResultCallback<T>? onPopInvoked,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart:169:30: Error: The getter 'canPop' isn't defined for the class 'GetPage<T>'.
- 'GetPage' is from 'package:get/get_navigation/src/routes/get_route.dart' ('/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'canPop'.
canPop: canPop ?? this.canPop,
^^^^^^
/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart:170:42: Error: The getter 'onPopInvoked' isn't defined for the class 'GetPage<T>'.
- 'GetPage' is from 'package:get/get_navigation/src/routes/get_route.dart' ('/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onPopInvoked'.
onPopInvoked: onPopInvoked ?? this.onPopInvoked,
^^^^^^^^^^^^
/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/extension_navigation.dart:175:5: Error: Type 'PopInvokedWithResultCallback' not found.
PopInvokedWithResultCallback<T>? onWillPop,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/extension_navigation.dart:175:5: Error: 'PopInvokedWithResultCallback' isn't a type.
PopInvokedWithResultCallback<T>? onWillPop,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/F:/Flutterpubcache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/extension_navigation.dart:272:15: Error: No named parameter with the name 'onPopInvokedWithResult'.
onPopInvokedWithResult: (didPop, result) =>
^^^^^^^^^^^^^^^^^^^^^^
/D:/fluttersdk/default/packages/flutter/lib/src/widgets/pop_scope.dart:55:9: Context: Found this candidate, but the arguments don't match.
const PopScope({
^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'D:\fluttersdk\default\bin\flutter.bat'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
Error: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered:
zhao004
changed the title
Get:9.2 | Error: Type 'PopInvokedWithResultCallback' not found. PopInvokedWithResultCallback<T>? onPopInvoked,
Error: Type 'PopInvokedWithResultCallback' not found. PopInvokedWithResultCallback<T>? onPopInvoked,
Aug 30, 2024
Flutter Version:
Getx Version:
Describe:
I used getx init to initialize the project and an error occurred when I ran it.
example:
Error messages:
The text was updated successfully, but these errors were encountered: