onClosed property
Called when the container transitions from opened back to closed state.
This callback provides an opportunity to handle data or perform cleanup when the expanded view is dismissed.
Implementation
final HeroContianerClosedCallback? onClosed;