-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on master channel even on ^1.12.0-dev version when add this package to pubspec.yaml i got below error but stable channel works well #26
Comments
Which version of Master are you using? |
I was try the Dev branch and update flutter but problem still presists. |
I just saw it in the first comment log, and it says that you are trying to use the stable version with the flutter channel dev:
If you are using the dev/master channel of Flutter, you must insert it in your pubspec If you are trying to use this in a previously installed application, you must use |
Tested today on the 3 branches (Stable / Beta / Dev), on Android, iOS and the web, and everything works fine. Apparently, you changed the version number in your pubspec. |
@jonataslaw I am using Flutter (Channel master, v1.18.1-pre.20, on Mac OS X 10.14.6 18G3020, locale de-CH) I see the exact same errors as in the first post when starting the app with flutter run. @farzintava did you find a solution? |
Do you is using 1.14.1-dev version ? |
try flutter clean |
Compiler message:
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/get-1.11.1/lib/src/snack_route.dart:279:8: Error: The method
'SnackRoute.install' has more required arguments than those of overridden method 'OverlayRoute.install'.
void install(OverlayEntry insertionPoint) {
^
/C:/flutter/packages/flutter/lib/src/widgets/routes.dart:41:8: Context: This is the overridden method ('install').
void install() {
^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/get-1.11.1/lib/src/snack_route.dart:289:18: Error: Too many positionalarguments: 0 allowed, but 1 found.
Try removing the extra positional arguments.
super.install(insertionPoint);
^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/get-1.11.1/lib/src/getroute_cupertino.dart:232:9: Error: No named
parameter with the name 'animation'.
animation: animation,
^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/cupertino/route.dart:435:3: Context: Found this candidate, but the arguments
don't match.
CupertinoFullscreenDialogTransition({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
A problem was found with the configuration of task ':app:compileFlutterBuildDebug'.
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 3s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 4.5s
Exception: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered: