marianocordoba / fab-circular-menu

A Flutter package to create a nice circular menu using a Floating Action Button.
https://pub.dev/packages/fab_circular_menu
MIT License
199 stars 71 forks source link

Fixes #14 and #26 and #38 #35

Open MrCsabaToth opened 3 years ago

MrCsabaToth commented 3 years ago

Regarding #14: swapping the OverflowBox and the Translation + scale transformation seems to help. Regarding #26: we just need to multiply the margin values by -1 or 1 based on where the menu is. Those factors are already available in the _directionX and _directionY variables. Regarding #38: using WidgetsBindingObserver's didChangeMetrics callback we call _calculateProps() and also close() if the menu is open.

MrCsabaToth commented 3 years ago

I tested this in my little environment but please test it as well.

MrCsabaToth commented 2 years ago

For the love of God please merge this so I won't have to rely on my own fork.

robertmrobo commented 2 years ago

Seems like the author of this package has abandoned it. 😔

robertmrobo commented 2 years ago

Do you know of any alternatives I can use for now..? I need a FAB like this one.

MrCsabaToth commented 2 years ago

Do you know of any alternatives I can use for now..? I need a FAB like this one.

I haven't looked for alternatives, I simply consumed the code into my project. You can see my fix in my patch fork.

YDA93 commented 2 years ago

Do you know of any alternatives I can use for now..? I need a FAB like this one.

I haven't looked for alternatives, I simply consumed the code into my project. You can see my fix in my patch fork.

@MrCsabaToth If you take over this package and release to pub.dev I would definitely use & help you to maintain it.

What do you think?

robertmrobo commented 2 years ago

Do you know of any alternatives I can use for now..? I need a FAB like this one.

I haven't looked for alternatives, I simply consumed the code into my project. You can see my fix in my patch fork.

@MrCsabaToth If you take over this package and release to pub.dev I would definitely use & help you to maintain it.

What do you think?

I will be happy to help maintain and keep improving it as well... ❤️

MrCsabaToth commented 2 years ago

I'm thinking about it. I'm looking at the pub.dev entry https://pub.dev/packages/fab_circular_menu and the link to this repository is removed. Publisher unverified.