-
Notifications
You must be signed in to change notification settings - Fork 52
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
Errors when running part one #4
Comments
you probably have out of date packages - get is on version get: ^3.4.1, but your errors are related to a cached older version - can you try updating get in your pubspec, and then running "flutter pub cache repair"? |
Yes, that's definitely the problem. You need to do a flutter pub upgrade and then try again, if that doesn't work run the repair command above. |
having problem on: "onGenerateRoute: Router().onGenerateRoute" class MyApp extends StatelessWidget { yaml: The following adds the Cupertino Icons font to your application.Use with the CupertinoIcons class for iOS style icons.cupertino_icons: ^1.0.0 dev_dependencies: auto_route_generator: |
Currently getting errors when running this source code:
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/get-1.17.3/lib/src/snackbar/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:/src/flutter/packages/flutter/lib/src/widgets/routes.dart:46:8: Context: This is the overridden method ('install'). void install() { ^ ../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/get-1.17.3/lib/src/routes/default_route.dart:242:9: Error: No named parameter with the name 'animation'. animation: animation, ^^^^^^^^^ /C:/src/flutter/packages/flutter/lib/src/cupertino/route.dart:542:3: Context: Found this candidate, but the arguments don't match. CupertinoFullscreenDialogTransition({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/get-1.17.3/lib/src/snackbar/snack_route.dart:289:18: Error: Too many positional arguments: 0 allowed, but 1 found. Try removing the extra positional arguments. super.install(insertionPoint);
Any reason as to why this might be the case?
The text was updated successfully, but these errors were encountered: