onDispose property
VoidCallback
onDispose
/// A callback that is being called when auth flow is complete and is being desposed (e.g. when AuthFlowBuilder widget is unmounteed from the widget tree).
Implementation
VoidCallback get onDispose {
return () {
for (var callback in _onDispose) {
callback();
}
};
}
/// A callback that is being called when auth flow is complete and is being desposed (e.g. when AuthFlowBuilder widget is unmounteed from the widget tree).
Implementation
set onDispose(VoidCallback callback) {
_onDispose.add(callback);
}