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.04k stars 375 forks source link

flutter 3.13.2 impeller #281

Open sdegenaar opened 1 year ago

sdegenaar commented 1 year ago

Hi, I upgraded to flutter 3.13.2 and am having lots of issues with the shadows and flickering. If I disable impeller all works fine. I assume this is not playing nice with impeller. Is anyone else seeing this. Thanks!

SNhenil commented 1 year ago

I encounter the same issue when I update my project to version 3.13.

dantetwc commented 1 year ago

same here, reverted back to 3.10

sdegenaar commented 1 year ago

Only way I can make it work is if turn impeller off. Anyone have any luck with this or any ideas as to why or what we could change. :-)

SNhenil commented 1 year ago

@sdegenaar Then we lose performance benefits, can't we do something in Plugin's code?

sdegenaar commented 1 year ago

@SNhenil 100%. Thats what we have to figure out and fix unless anyone else or the creators can give some insight? Cheers!

sdegenaar commented 1 year ago

Anyone have any ideas here? @florent37

SNhenil commented 9 months ago

@sdegenaar @dantetwc I am using version 3.19.1 and I haven't encountered this issue anymore. Can you guys confirm that?

banghuazhao commented 2 months ago

Same here with flutter 3.16.6. It seems a lot of flutter's theme API is updated:

../../../.pub-cache/hosted/pub.dev/flutter_neumorphic-3.2.0/lib/src/widget/app.dart:89:7: Error: No named parameter with the name 'accentColor'.
      accentColor: theme.variantColor,
      ^^^^^^^^^^^
banghuazhao commented 2 months ago

Here is my fix, which updates the SDK constraints to support Flutter >= 3.10.0. It works as expected:

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