Skip to content
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

settingsToUse = settingsToUse.copyWith(name: path); #275

Closed
Wissperwind opened this issue Nov 7, 2022 · 2 comments
Closed

settingsToUse = settingsToUse.copyWith(name: path); #275

Wissperwind opened this issue Nov 7, 2022 · 2 comments

Comments

@Wissperwind
Copy link

Wissperwind commented Nov 7, 2022

Hi,

Please check the compatibility with the most recent flutter version on the master branch:

/C:/Users/user/AppData/Local/Pub/Cache/hosted/pub.dev/fluro-2.0.3/lib/src/fluro_router.dart:134:37: Error: The method 'copyWith' isn't defined for the class 'RouteSettings'.
 - 'RouteSettings' is from 'package:flutter/src/widgets/navigator.dart' ('/C:/Users/user/Flutter%20SDK/flutter/packages/flutter/lib/src/widgets/navigator.dart').
Try correcting the name to the name of an existing method, or defining a method named 'copyWith'.
      settingsToUse = settingsToUse.copyWith(name: path);
                                    ^^^^^^^^
Failed to compile application.
@lukepighetti
Copy link
Owner

Resolved in 8b472f7 and 2.0.4 on pub

@Wissperwind
Copy link
Author

Tanks for the fast fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants