onAuthSubmit property

Future<bool> Function(LoginModel)? onAuthSubmit
final

Where you have to call your Authentification service provider with the email/password (and name if it's a registration) if the provider doesn't accept you can return false to stop the tunnel otherwise true Tips: don't forget to popup a snackbar to explain why the provider didn't accepte.

Implementation

final Future<bool> Function(LoginModel)? onAuthSubmit;