onClose property
Called when the popover begins closing.
Fires immediately when a close is triggered — tap outside the barrier,
re-tapping the trigger, or calling the close callback — before the
close animation completes.
Implementation
final VoidCallback? onClose;