Idean / Flutter-Neumorphic

A complete, ready to use, Neumorphic ui kit for Flutter, 🕶️ dark mode compatible
https://pub.dev/packages/flutter_neumorphic
Apache License 2.0
2.03k stars 376 forks source link

Conflict of AnimatedScale with Flutter 2.5.0 #239

Closed tsvillain closed 2 years ago

tsvillain commented 3 years ago

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 commented 3 years ago

Please update it.

tsvillain commented 3 years ago

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 commented 3 years ago

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- commented 3 years ago

When it can be merged?

diprupareliya commented 3 years ago

On Fri, 24 Sep 2021 at 6:35 PM, Vytautas Pranskunas < @.***> wrote:

When it can be merged?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Idean/Flutter-Neumorphic/issues/239#issuecomment-926609105, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASBVDQ6NER5FDUNKP6I2QOTUDRZRFANCNFSM5D3UVKHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Your pubspec.yaml file add this in add all dependecy

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

Add this line and slowed this problem

gafar-code commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Any update on this? When this PR can merge?

rednikisfun commented 3 years ago

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

satishNichi commented 2 years ago

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 commented 2 years ago

On Wed, 10 Nov 2021 at 12:40 AM, Miguel Ruivo @.***> wrote:

Closed #239 https://github.com/Idean/Flutter-Neumorphic/issues/239 via

240 https://github.com/Idean/Flutter-Neumorphic/pull/240.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Idean/Flutter-Neumorphic/issues/239#event-5592044146, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASBVDQYTEETCGD42FAEEMWDULFW2BANCNFSM5D3UVKHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Your pubspec.yaml file add this in add all dependecy

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

miguelpruivo commented 2 years ago

@diprupareliya it’s already merged.