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

1.17.0 Error: No named parameter with the name 'animation'. #160

Closed
crazecoder opened this issue Apr 1, 2020 · 19 comments
Closed

1.17.0 Error: No named parameter with the name 'animation'. #160

crazecoder opened this issue Apr 1, 2020 · 19 comments

Comments

@crazecoder
Copy link

Compiler message:
/Users/xxxx/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-0.7.2/lib/src/gesture/extended_image_slide_page_route.dart:333:9: Error: No named parameter with the name 'animation'.
animation: animation,
^^^^^^^^^
/Users/xxxx/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.

[✓] Flutter (Channel master, v1.16.4-pre.38, on Mac OS X 10.15.3 19D76, locale zh-Hans-CN)
@enricobenedos
Copy link

Same issue on dev channel

[✓] Flutter (Channel dev, v1.16.4-pre.33, on Mac OS X 10.15.3 19D76, locale en-IT)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.43.2)
[✓] Connected device (3 available)

• No issues found!

@ThinkDigitalSoftware
Copy link

Getting this too. I believe it has to do with new changes since stable...

@jonataslaw
Copy link

I fixed this and offered a PR that will probably only be accepted when the current version goes to the stable branch.
You can try the fix right away using this:

extended_image:
    git:
      url: git://github.com/jonataslaw/extended_image.git

@ThinkDigitalSoftware
Copy link

Thanks!

@zmtzawqlp
Copy link
Member

support it when it's in stable branch

@ThinkDigitalSoftware
Copy link

No dev version?

@zmtzawqlp
Copy link
Member

may be i will release a dev version to pub this weekend. I have done some bug fixes and features in dev branch

@sgehrman
Copy link

sgehrman commented Apr 9, 2020

I just got this today after updating. I'm on beta branch

@zmtzawqlp
Copy link
Member

0.7.3-dev is ready on pub

@deep1931
Copy link

deep1931 commented Apr 15, 2020

I fixed this and offered a PR that will probably only be accepted when the current version goes to the stable branch.
You can try the fix right away using this:

extended_image:
    git:
      url: git://github.com/jonataslaw/extended_image.git

Hi
After adding this above line I am facing this error
Because native_pdf_view 2.2.0 depends on extended_image ^0.7.1 and no versions of native_pdf_view match >2.2.0 <3.0.0, native_pdf_view ^2.2.0 requires extended_image from hosted.

Please help.

@jonataslaw
Copy link

jonataslaw commented Apr 16, 2020

I fixed this and offered a PR that will probably only be accepted when the current version goes to the stable branch.
You can try the fix right away using this:

extended_image:
    git:
      url: git://github.com/jonataslaw/extended_image.git

Hi
After adding this above line I am facing this error
Because native_pdf_view 2.2.0 depends on extended_image ^0.7.1 and no versions of native_pdf_view match >2.2.0 <3.0.0, native_pdf_view ^2.2.0 requires extended_image from hosted.

Please help.

Try adding this at the end of your lib dependencies

dependency_overrides:
extended_image:
    git:
      url: git://github.com/jonataslaw/extended_image.git

or

dependency_overrides:
extended_image: 0.7.3-dev

@deep1931
Copy link

deep1931 commented Apr 16, 2020 via email

@zmtzawqlp
Copy link
Member

reopen ,people find it quickly

@zmtzawqlp zmtzawqlp reopened this Apr 22, 2020
@liyujiang-gzu
Copy link

liyujiang-gzu commented Apr 23, 2020

只支持stable分支啊,beta和dev分支都报这个错:
image

pubspec.yaml中添加0.7.3-dev版本可以解决:

dependency_overrides:
  # Error: No named parameter with the name 'animation'
  extended_image: 0.7.3-dev

@vishalsaini9
Copy link

extended_image_slide_page_route.dart:333:9: Error: No named parameter with the name 'animation'.

@zmtzawqlp
Copy link
Member

extended_image_slide_page_route.dart:333:9: Error: No named parameter with the name 'animation'.

Error: No named parameter with the name 'animation'

extended_image: 0.7.3-dev

@zmtzawqlp zmtzawqlp changed the title Error: No named parameter with the name 'animation'. 1.17.0 Error: No named parameter with the name 'animation'. May 7, 2020
@zmtzawqlp
Copy link
Member

zmtzawqlp commented May 7, 2020

extended_image 0.7.3+1 is ready on pub.dev for fixing 1.17

@DaniCastroDev
Copy link

extended_image 0.7.3+1 is ready on pub.dev for fixing 1.17

Won't this change crash if we are still using flutter 1.12?
If there is a breaking change, you should upgrade the version to 1.x.x.
The recommended way of adding a package to our project is using
dependencies: extended_image: ^0.7.3+1
which means that any version from 0.7.3+1 to 1.0.0 (but not 1.0.0 istself) will work.
You can read more here: https://dart.dev/tools/pub/dependencies

@zmtzawqlp
Copy link
Member

extended_image 0.7.3+1 is ready on pub.dev for fixing 1.17

Won't this change crash if we are still using flutter 1.12?
If there is a breaking change, you should upgrade the version to 1.x.x.
The recommended way of adding a package to our project is using
dependencies: extended_image: ^0.7.3+1
which means that any version from 0.7.3+1 to 1.0.0 (but not 1.0.0 istself) will work.
You can read more here: https://dart.dev/tools/pub/dependencies

ok, i will follow this rule in next build, plz see #89 , it's show how to use in un-1.17 version for now

workerbee22 added a commit to Western-Health-Covid19-Collaboration/wh_covid19_app that referenced this issue May 11, 2020
…e_pdf_view package as per fluttercandies/extended_image#160 which allows fluter test to pass correctly.
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

10 participants