Posts

Showing posts with the label google-signin

Google, Facebook Sign in support with Flutter

I am new to Flutter, Is there any way that i can provide Sign in using GOOGLE/FACEBOOK with Flutter. Thanks 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'; import 'package:flutter_facebook_login/flutter_facebook_login.dart'; import 'dart:async'; void main() => runApp(new MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return new MaterialApp( title: 'Flutter Facebook Login', theme: new ThemeData( primarySwatch: Colors.blue, ), home: new MyHomePage(title: 'Flutter Login Facebook'), ); } } class MyHomePage extends StatefulWidget { MyHomePage({Key key, this...