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
Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command '/home/user/flutter/bin/flutter'' finished with non-zero exit value 1
#3200
Open
fisforfaheem opened this issue
Aug 29, 2024
· 0 comments
'GetPage' is from 'package:get/get_navigation/src/routes/get_route.dart' ('../.pub-cache/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,
^^^^^^
../.pub-cache/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'.
'GetPage' is from 'package:get/get_navigation/src/routes/get_route.dart' ('../.pub-cache/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'. ../.pub-cache/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) =>
^^^^^^^^^^^^^^^^^^^^^^
../flutter/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 '/home/user/flutter/bin/flutter'' 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.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'canPop'.
canPop: canPop ?? this.canPop,
^^^^^^
../.pub-cache/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'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onPopInvoked'. ../.pub-cache/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) =>
^^^^^^^^^^^^^^^^^^^^^^
../flutter/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'.
BUILD FAILED in 7s
Error: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered: