Leondev7 / flutter_fab_dialer

Floating action button dialer
BSD 3-Clause "New" or "Revised" License
67 stars 31 forks source link

Allow hide parent Floatingbutton on clic on child #10

Closed presercomp closed 5 years ago

presercomp commented 6 years ago

I could have an option when building the widget, which will close the "floatingActionButton" when I clicked in addition to the programmed option "onPress"

Leondev7 commented 6 years ago

I can do it, of course, but can you explain it a little bit more? I want to know why it would be interesting to the project and if more people would use it. Do you want to remove fthe buttons from the view? Do you want to collapse the whole widget?

presercomp commented 6 years ago

The idea would be that by pressing a child button of the floatingActionButton, it can be hidden again. On many occasions, you can use a child to navigate to another view, and when you return, the floatingButton is displayed

Leondev7 commented 6 years ago

I've just updated the code. There is a new value inside the code that is called HideWidget. It's a boolean that will allow you to hide the full widget at will. I hope you enjoy it.