Open larry-cariq opened 2 months ago
The popover code documentation states:
/// The `onPop` called to veto attempts by the user to dismiss the popover.
https://github.com/minikin/popover/blob/8b3478b967088e44eada7157e5ad3904a0e2099f/lib/src/popover.dart#L68C1-L68C76 However, I don't see how a veto would work since the return type is void. Can you explain how I can veto the onPop?
Can return false to onPop so the popover is not dismissed.
iOS
No response
Is there an existing issue for this?
Current Behavior
The popover code documentation states:
https://github.com/minikin/popover/blob/8b3478b967088e44eada7157e5ad3904a0e2099f/lib/src/popover.dart#L68C1-L68C76 However, I don't see how a veto would work since the return type is void. Can you explain how I can veto the onPop?
Expected Behavior
Can return false to onPop so the popover is not dismissed.
What operating system are you seeing the problem on?
iOS
Relevant log output
No response
Anything else?
No response
Code of Conduct