Flutter: Facebook and Google Authentication
I am trying to include Facebook and Google Authentication in my app which I am creating using Flutter. Is there a tutorial where I can utilize to implement as it is bit uncertain on how to include html elements and Javascript in Flutter to enable such authentication. Or is there a complete different way of authentication for Flutter? You can use the google_sign_in plugin. Check out the documentation in the plugins repo and on pub. There isn't a Facebook plugin yet, but you could write one. I'd recommend leveraging Firebase. Here is a codelab: https://codelabs.developers.google.com/codelabs/flutter-firebase/index.html#0 Adding this late answer since now there is a package, flutter_facebook_login that replaces flutter_facebook_connect. Here is a functioning main.dart example that should work. Just keep in mind you must have followed all configuration as described in the repository and must have a facebook app configured: import 'package:flutter/material.dart...