chinabrant / popup_menu

🔥A flutter popup menu. Pub enabled.
https://pub.dev/packages/popup_menu
Other
442 stars 136 forks source link

offset.x is not suitable on somecase. #27

Open Moon1102 opened 4 years ago

Moon1102 commented 4 years ago

The 'menu content' is a Positioned component, and it center.x was equals parent widget's center.x, so when parent's postion is closer to screen's right side, set Positioned's left = offset.dx will cause a part of menu content is hidden. I already change code to left = 10 on my project and feel better.