onClosed property

ClosedCallback<T?>? onClosed
final

Called when the container was popped and has returned to the closed state.

The return value from the popped screen is passed to this function as an argument.

If no value is returned via Navigator.pop or OpenContainer.openBuilder.action, null will be returned by default.

Implementation

final ClosedCallback<T?>? onClosed;