Dn-a / flutter_inner_drawer

Inner Drawer is an easy way to create an internal side section (left/right) where you can insert a list-menu or other.
https://pub.dartlang.org/packages/flutter_inner_drawer
MIT License
514 stars 129 forks source link

Swipe and AppBar Actions doesnt work well. #54

Open oswaldocueto01 opened 3 years ago

oswaldocueto01 commented 3 years ago

When i use Swipe property i can tap all my icon button widget. exists some space or with near to the device side that cause the problem.

image

image

I cant touch all this area...

oswaldocueto01 commented 3 years ago

Update... i fixed it changing the const double _kEdgeDragWidth = 20.0; to const double _kEdgeDragWidth = 0.0;

thats all, Thanks you

oswaldocueto01 commented 3 years ago

Consider to change that constant to a public for change it before init state or implement it as a parameter.

noobloser commented 3 years ago

tl;dr: definition of a swipe area

If possible the definition of a designated swipe area might be beneficial. Having a Listview with an overlay button to open the sidebar, the user might also like to swipe. If the items also have a swipe action attached to them it might get complicated, so limiting the flutter_inner_drawer swipe area to the button area might help here. Screenshot from 2020-11-30 03-43-55