aad_b2c_webview
aad_b2c_webview copied to clipboard
[Feature request] Separate onErrorOrCancel into two different methods
Hello
I think that it would be better if onErrorOrCancel would either be split into two different methods or at least return more data other than just context.
ADB2CEmbedWebView(
// Current
onErrorOrCancel: (context) {...},
// --------
// Proposal 1
onCancel: (context, message) {...},
onError: (context, message) {...},
// Proposal 2
onErrorOrCancel: (context, isError, message) {...},
...
)
Hello! I hope you are well.
Could you please check if you are using the latest version? I believe it is better structured and may solve the problem.
If you need anything, I am at your disposal! 😊
@tojaskivi can you check the latest version of the package ? thanks !