Added necessary dependencies for google sing in, created the google_sign_in provider, modified Info.plist to work with google sign in
This commit is contained in:
parent
0ed3aa6428
commit
f7e60417a0
2 changed files with 21 additions and 0 deletions
|
|
@ -1,5 +1,10 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import './models/event_model.dart';
|
||||
import './models/task_model.dart';
|
||||
import './models/user_model.dart';
|
||||
import './resources/firestore_provider.dart';
|
||||
|
||||
class App extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
|
|
@ -14,3 +19,18 @@ class App extends StatelessWidget {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
/* class App extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: 'Do more',
|
||||
//home: Text('Start'),
|
||||
home: Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('DO>'),
|
||||
),
|
||||
body: Text('Tasks'),
|
||||
),
|
||||
);
|
||||
}
|
||||
} */
|
||||
|
|
|
|||
1
lib/src/resources/google_login_provider.dart
Normal file
1
lib/src/resources/google_login_provider.dart
Normal file
|
|
@ -0,0 +1 @@
|
|||
import 'package:firebase_auth/firebase_auth.dart';
|
||||
Loading…
Add table
Add a link
Reference in a new issue