A question about the lemmur UI

On home screen, when a post is clicked, the floating action button moves to the right side of the screen and becomes a message button. How did you achieve that effect on flutter? Is it the hero widget? I have been trying to achieve the same effect on a flutter project without success. I appreciate if you could give me a heads up. Thanks in advance. And great job with lemmur really, I’m following the project closely and have been learning a lot from it.

The FAB has a hero widget attached to it automatically thanks to Scaffold, so if both of your pages have a scaffold and use Scaffold.floatingActionButton and Scaffold.floatingActionButtonLocation everything should just magically work

I’m following the project closely and have been learning a lot from it

I am happy to hear! I am flattered, but don’t take everything we do as the way it should be done, I mean the state management to be exact. At the beginning we opted to use hooks for everything but now we see that flutter_hooks are not as flexible as react hooks so we are planning to move to some more maintainable state management lib.

Feel free to ask any other questions :)

Actually, we invite people to use github discussions for dev questions: https://github.com/krawieck/lemmur/discussions

Seferi
creator
21M

Thanks a lot for the info mate. And also being so welcoming and open!

@Raziel
42M

Try asking directly to the devs, maybe you will get a faster answer

Seferi
creator
3
edit-2
2M

Thanks mate, I’ll try to add the solution here so it might be helpful to the others…

Community dedicated to discussions around a mobile lemmy client

Code repository: github.com/krawieck/lemmur

Download for your device:

Support development:

Before asking for help with a problem make sure you’ve read the FAQ

  • 0 users online
  • 1 user / day
  • 1 user / week
  • 6 users / month
  • 56 users / 6 months
  • 249 subscribers
  • 30 Posts
  • 171 Comments
  • Modlog