onClosed property

VoidCallback? onClosed
final

Called when clicking x-to-close button or when thecCtrl + T or Ctrl + F4 is executed

If null, the tab is not closeable

Implementation

final VoidCallback? onClosed;