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

Feature request: interpolate style.shape during animation #252

Open alexobviously opened 2 years ago

alexobviously commented 2 years ago

I love the ease of animation with this package, but there's one thing that doesn't animate that would be great, and that's the NeumorphicShape of containers (not NeumorphicBoxShape, but style.shape). I had some containers that I wanted to switch from flat to convex, and unfortunately it just changes from one to the other without interpolating.

edit: after writing this I realised I can animate surfaceIntensity from 0, but I still think this would be useful to switch from concave to convex.