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

Conflict of AnimatedScale with Flutter 2.5.0 #239

Closed
tsvillain opened this issue Sep 12, 2021 · 12 comments · Fixed by #240
Closed

Conflict of AnimatedScale with Flutter 2.5.0 #239

tsvillain opened this issue Sep 12, 2021 · 12 comments · Fixed by #240

Comments

@tsvillain
Copy link
Contributor

Error: 'AnimatedScale' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:flutter_neumorphic/src/widget/animation/animated_scale.dart'

After Flutter 2.5.0 release AnimatedScale is conflicting with flutter's implicit_animations.dart

Will create a PR to resolve it ASAP.

@amebrahimi
Copy link

Please update it.

@tsvillain
Copy link
Contributor Author

Till it's not merged one can use it by adding below in pubspec.yaml:

flutter_neumorphic:
    git:
      url: https://github.com/tsvillain/Flutter-Neumorphic.git

@diprupareliya
Copy link

Till it's not merged one can use it by adding below in pubspec.yaml:

flutter_neumorphic:
    git:
      url: https://github.com/tsvillain/Flutter-Neumorphic.git

Thank you for solving this problem

@vytautas-pranskunas-
Copy link

When it can be merged?

@diprupareliya
Copy link

diprupareliya commented Sep 24, 2021 via email

@gafar-code
Copy link

Till it's not merged one can use it by adding below in pubspec.yaml:

flutter_neumorphic:
    git:
      url: https://github.com/tsvillain/Flutter-Neumorphic.git

Thanks ..

@HasseneKh
Copy link

i have the same problem but i have fix it by changing the code of the package , just i have deleted the import
import 'animation/animated_scale.dart' => from button.dart
and
import 'package:flutter_neumorphic/src/widget/animation/animated_scale.dart'; == > from switch.dart

and i have added "AnimatedScale( duration:widget.duration, " for both
and evey thins is works

@jigarfumakiya
Copy link

Any update on this?
When this PR can merge?

@rednikisfun
Copy link

I have the same issue. Waiting for the solution to be merged

@satishNichi
Copy link

i have the same problem but i have fix it by changing the code of the package , just i have deleted the import import 'animation/animated_scale.dart' => from button.dart and import 'package:flutter_neumorphic/src/widget/animation/animated_scale.dart'; == > from switch.dart

and i have added "AnimatedScale( duration:widget.duration, " for both and evey thins is works

it worked for me thanks.

@diprupareliya
Copy link

diprupareliya commented Nov 9, 2021 via email

@miguelpruivo
Copy link
Collaborator

@diprupareliya it’s already merged.

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

Successfully merging a pull request may close this issue.

10 participants