@@ -4913,7 +4913,7 @@ steps:
4913
4913
patch-u: |
4914
4914
--- b/firebase-auth-flutterfire-ui/complete/lib/auth_gate.dart
4915
4915
+++ a/firebase-auth-flutterfire-ui/complete/lib/auth_gate.dart
4916
- @@ -1,12 +1,57 @@
4916
+ @@ -1,12 +1,56 @@
4917
4917
+import 'package:firebase_auth/firebase_auth.dart' hide EmailAuthProvider;
4918
4918
+import 'package:firebase_ui_auth/firebase_ui_auth.dart';
4919
4919
+import 'package:firebase_ui_oauth_google/firebase_ui_oauth_google.dart';
@@ -4949,10 +4949,9 @@ steps:
4949
4949
+ subtitleBuilder: (context, action) {
4950
4950
+ return Padding(
4951
4951
+ padding: const EdgeInsets.symmetric(vertical: 8.0),
4952
- + child:
4953
- + action == AuthAction.signIn
4954
- + ? const Text('Welcome to FlutterFire, please sign in!')
4955
- + : const Text('Welcome to Flutterfire, please sign up!'),
4952
+ + child: action == AuthAction.signIn
4953
+ + ? const Text('Welcome to FlutterFire, please sign in!')
4954
+ + : const Text('Welcome to Flutterfire, please sign up!'),
4956
4955
+ );
4957
4956
+ },
4958
4957
+ footerBuilder: (context, action) {
@@ -4982,7 +4981,7 @@ steps:
4982
4981
import 'package:flutter/material.dart';
4983
4982
4984
4983
class HomeScreen extends StatelessWidget {
4985
- @@ -6,12 +7,46 @@ class HomeScreen extends StatelessWidget {
4984
+ @@ -6,12 +7,45 @@ class HomeScreen extends StatelessWidget {
4986
4985
@override
4987
4986
Widget build(BuildContext context) {
4988
4987
return Scaffold(
@@ -4995,25 +4994,24 @@ steps:
4995
4994
+ Navigator.push(
4996
4995
+ context,
4997
4996
+ MaterialPageRoute<ProfileScreen>(
4998
- + builder:
4999
- + (context) => ProfileScreen(
5000
- + appBar: AppBar(title: const Text('User Profile')),
5001
- + actions: [
5002
- + SignedOutAction((context) {
5003
- + Navigator.of(context).pop();
5004
- + }),
5005
- + ],
5006
- + children: [
5007
- + const Divider(),
5008
- + Padding(
5009
- + padding: const EdgeInsets.all(2),
5010
- + child: AspectRatio(
5011
- + aspectRatio: 1,
5012
- + child: Image.asset('flutterfire_300x.png'),
5013
- + ),
5014
- + ),
5015
- + ],
4997
+ + builder: (context) => ProfileScreen(
4998
+ + appBar: AppBar(title: const Text('User Profile')),
4999
+ + actions: [
5000
+ + SignedOutAction((context) {
5001
+ + Navigator.of(context).pop();
5002
+ + }),
5003
+ + ],
5004
+ + children: [
5005
+ + const Divider(),
5006
+ + Padding(
5007
+ + padding: const EdgeInsets.all(2),
5008
+ + child: AspectRatio(
5009
+ + aspectRatio: 1,
5010
+ + child: Image.asset('flutterfire_300x.png'),
5011
+ + ),
5016
5012
+ ),
5013
+ + ],
5014
+ + ),
5017
5015
+ ),
5018
5016
+ );
5019
5017
+ },
0 commit comments