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.01k stars 370 forks source link

Flutter_Neumorphic Not working with flutter version 2.5.1,2.5.2,2.5.3 #242

Closed HarshuPatel007 closed 2 years ago

HarshuPatel007 commented 2 years ago

/M:/flutter_sdks/flutter_windows_2.5.1-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_neumorphic-3.1.0/lib/src/widget/button.dart:200:14: Error: 'AnimatedScale' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:flutter_neumorphic/src/widget/animation/animated_scale.dart'. child: AnimatedScale( ^^^^^^^^^^^^^ /M:/flutter_sdks/flutter_windows_2.5.1-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_neumorphic-3.1.0/lib/src/widget/switch.dart:167:20: Error: 'AnimatedScale' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:flutter_neumorphic/src/widget/animation/animated_scale.dart'. child: AnimatedScale( ^^^^^^^^^^^^^

/M:/flutter_sdks/flutter_windows_2.5.3-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_neumorphic-3.1.0/lib/src/widget/button.dart:200:14: Error: 'AnimatedScale' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:flutter_neumorphic/src/widget/animation/animated_scale.dart'. child: AnimatedScale( ^^^^^^^^^^^^^ /M:/flutter_sdks/flutter_windows_2.5.3-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_neumorphic-3.1.0/lib/src/widget/switch.dart:167:20: Error: 'AnimatedScale' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:flutter_neumorphic/src/widget/animation/animated_scale.dart'. child: AnimatedScale( ^^^^^^^^^^^^^ Please fix ..and give new update

rednikisfun commented 2 years ago

Why is this issue closed, is it fixed? I have encountered the same problem

HarshuPatel007 commented 2 years ago

Because. I solved it

On Wed, Nov 3, 2021, 4:37 PM Isfun @.***> wrote:

Why is this issue closed, is it fixed? I have encountered the same problem

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Idean/Flutter-Neumorphic/issues/242#issuecomment-958927696, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATNCPC7GPLMI3LB2IEHU7K3UKEJWFANCNFSM5GIEVKSQ . 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.

hwnprsd commented 2 years ago

How did you solve it? Can you please share the fix

HarshuPatel007 commented 2 years ago

flutter_neumorphic: git: url: https://github.com/tsvillain/Flutter-Neumorphic.git please add this line in your pubspec.yaml

On Mon, Nov 8, 2021 at 5:33 PM Ashwin Prasad @.***> wrote:

How did you solve it? Can you please share the fix

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Idean/Flutter-Neumorphic/issues/242#issuecomment-963083702, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATNCPC7QY3LZDBVS5VEUNZTUK64CLANCNFSM5GIEVKSQ . 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.