Closed Feynallein closed 6 months ago
Adding a popOnClose option that allows for a more granular control over the close functionality.
If the user gives a onClose callback, the popOnClose will enable/prevent the close method to call Navigator.pop(context).
This proves useful when using the BottomPicker as a widget in a UI and not as modal bottom sheet.
Thanks @Feynallein for your contribution to this package
Adding a popOnClose option that allows for a more granular control over the close functionality.
If the user gives a onClose callback, the popOnClose will enable/prevent the close method to call Navigator.pop(context).
This proves useful when using the BottomPicker as a widget in a UI and not as modal bottom sheet.