Get Started with Flutter Authentication

Hello,
I am currently trying to integrate Auth0 into my Flutter application. I followed this tutorial Get Started with Flutter Authentication and I am having some issues. When I try to click the “login” button which triggers the loginAction() method, it does not redirect me to auth0’s domain which would prompt me to enter my username and password. Any idea why this may be happening?