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