Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
MIT License
10.39k
stars
1.63k
forks
source link
Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command '/home/user/flutter/bin/flutter'' finished with non-zero exit value 1 #3200
'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.
FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 7s Error: Gradle task assembleDebug failed with exit code 1