CloseContainerActionCallback<S> typedef

CloseContainerActionCallback<S> = void Function({S? returnValue})

Signature for action callback function provided to OpenContainer.openBuilder.

Parameter returnValue is the value which will be provided to OpenContainer.onClosed when action is called.

Implementation

typedef CloseContainerActionCallback<S> = void Function({S? returnValue});