psk907 / fluttermoji

A light-weight and highly customizable SVG graphic set for Flutter which generates avatars and provides a Customizer Widget, personalized CircleAvatar and other utility functions.
https://pub.dev/packages/fluttermoji
MIT License
72 stars 50 forks source link

The emoji saves when I go back #4

Closed akaAntox closed 3 years ago

akaAntox commented 3 years ago

If I make a change to the emoji, even if I just go back without pressing the save icon, i see the changes.

psk907 commented 3 years ago

Hi @akaAntox , yeah I noticed that the fluttermoji is temporarily saved despite going back and reverts only on app-relaunch.

I will work on a potential fix for this. If you have gone through the source code and have any ideas, drop em' below.

akaAntox commented 3 years ago

I suggest you to use two different widgets for showing the avatar, one inside the edit avatar page and one to show it anywhere else

psk907 commented 3 years ago

@akaAntox I have made necessary changes and updated the package to fix this issue. Update your dependency to

 fluttermoji: ^0.2.1

and check it out ! Alternatively you can try the web demo.

Let me know if this helped :)

akaAntox commented 3 years ago

Yes, it worked out well, amazing job!