-
Notifications
You must be signed in to change notification settings - Fork 485
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
Incompatible with the latest version of flutter/dart? #374
Comments
facing same issue... |
Switched "params" to "pathParameters" in gorouter.dart: "final String id = state.pathParameters['bid']!;" |
lib/examples/route/navigation/go_router.dart: from "redirect: (GoRouterState state) {" to "redirect: (BuildContext context, GoRouterState state) {" |
facing same issue here. is there anyway to fix this? |
I believe I have fixed the issue, will test it on my project and submit a PR. Edit: PR is up. |
oh sory i just fix it by changing the version into |
What about "sheet" package update accordingly? Facing the same issue |
Hello any one, try to use |
Hello everyone, It does not work for me neither. I have both But still, it does not build the project. Here's the error messages:
And here's my sample code:
Here's my
Anyone with the same issue? |
Hello @joaobentes, remove sheet: ^1.0.0-pre and use only modal_bottom_sheet: ^3.0.0-pre |
There is a new version of |
Error: 'ModalBottomSheetRoute' is imported from both 'package:flutter/src/material/bottom_sheet.dart' and 'package:modal_bottom_sheet/src/bottom_sheet_route.dart'.
import '../modal_bottom_sheet.dart';
^^^^^^^^^^^^^^^^^^^^^
lib/modals/circular_modal.dart:102:32: Error: Method not found: 'ModalSheetRoute'.
.push(modal_bottom_sheet.ModalSheetRoute(
^^^^^^^^^^^^^^^
lib/modals/circular_modal.dart:118:10: Error: A value of type 'Object?' can't be returned from an async function with return type 'Future<T?>'.
return result;
^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where:
Script 'C:\tools\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1297
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
The text was updated successfully, but these errors were encountered: