onClose property

VoidCallback? onClose
final

Callback when the viewer is closed.

If not provided, Navigator.pop will be called.

Implementation

final VoidCallback? onClose;