onAuthModeChange property
AuthModeChangeCallback?
onAuthModeChange
final
It is called on auth mode changes, you can store the current mode.
Implementation
final AuthModeChangeCallback? onAuthModeChange;