-
Notifications
You must be signed in to change notification settings - Fork 173
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
Error building with flutter 1.14.6 #113
Comments
Same error here, after flutter upgrade. A fix would be very welcome. Thanks |
Edit Line 273 And line 281 |
This is happening because the newest flutter version changed the function signature for the @override
void install() {
assert(_overlayEntries.isEmpty);
_overlayEntries.addAll(createOverlayEntries());
super.install(); |
Find the file flushbar-1.9.1/lib/flushbar_route.dart?? |
Greeting all, I'm having the same issue, does anyone have a working solution. Thanks. |
Downgrade to stable...
On Feb 17, 2020 12:58 AM, Promise4235 <[email protected]> wrote:
Greeting all,
I'm having the same issue, does anyone have a working solution.
Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#113?email_source=notifications&email_token=AFPYO7MTTF4LLIRYLEOTLPDRDJGT3A5CNFSM4KQ4SIVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL5SJCA#issuecomment-586884232>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFPYO7LRMSUZ5QUHILP6XOTRDJGT3ANCNFSM4KQ4SIVA>.
|
If you don't want downgrade, just edit flushbar_route.dart like @FabioWolfen commented above
This file is inside of your flutter path Works fine to me, while don't have update in the package |
I was browsing the issues and i found this #110 . It's the same problem. @valterh4ck3r did a fork of package with this "correction".
By the way, already have merged in master this change in this package, but wasn't released a version (PR #111 ) |
Is broken on Flutter 1.15..22-pre.24 used the git referenced version and compiled like a charm. Thank you. |
fix is committed but not released, try importing like so:
|
Thank you! This works. |
This doesn't work for me, unfortunately. I added it exactly like this to the end of pubspec.yaml :( |
try flutter clean, then pub get. |
Okay, so I guess the 'stable' channel have some issues with this. Switching to 'beta' or 'dev' solves this problem.
then
copy the above bit in your |
Absolutely working. 'stable' channel still have issues, but 'dev' work perfect. |
Even i am getting the same error with flushbar: ^1.10.0 this version on flutter v1.12.13 |
Fix was release in version 1.10. |
@AndreHaueisen I have version 1.10 of the flushbar library as mentioned in my pubspec.yaml file
I'm still getting this error while running the build
Any specific reason why this it's still giving me an error after the fix has been incorporated in the v1.10? Do correct me if I'm missing something here. |
You are using flutter stable version. Use the beta one or go to flushbar 1.9. I explained it in the changelog |
I tried both beta version and 1.9m ,and still have the issue. Also, I don't understand one of the suggested things (below). What is to be edited (from what to what)? "flushbar-1.9.1/lib/flushbar_route.dart Line 273 And line 281 |
The package is still not working. I've tried both github, and pub.dev package. Its yet to work. Fix this package please, a lot of projects depend on this package |
Same problem with me since the day I changed my flutter channel from stable to beta and then master. It worked for me when i again changed my channel to stable and then used "Flutter Upgrade". |
It finally worked. I used 1.9.1 without the caret sign ^ |
This works for me: |
YES! You saved me. Remove ^ from ^1.9.1 - |
Found the solution. In the project you , External Libraries -> Dart Packages -> flushbar-version -> flushbar_route.dart There is line at 316
change
and before end the function at the line 326
change
That's it! |
The text was updated successfully, but these errors were encountered: