selectRegistrationMethod method

dynamic selectRegistrationMethod(
  1. BuildContext context,
  2. LoginType loginType
)

Implementation

selectRegistrationMethod(BuildContext context, LoginType loginType) {
  Navigator.of(context)
      .push(MaterialPageRoute(
          builder: (context) => RegisterScreen(
                config: config,
                loginType: loginType,
                onAuthenticated: onAuthenticated,
              )))
      .then((value) => Navigator.of(context).pop());
}