Skip to content

Commit 58cddae

Browse files
Merge pull request #26 from Vaibhavyadav350/main
added more file
2 parents 0bd668c + 873a81b commit 58cddae

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/pages/home_page.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import 'package:CipherPay/widgets/balance_card.dart';
77
import 'package:CipherPay/widgets/card_slider.dart';
88
import 'package:CipherPay/widgets/coin_card.dart';
99
import 'package:CipherPay/widgets/coin_item.dart';
10+
import 'package:firebase_auth/firebase_auth.dart';
1011
import 'package:flutter/material.dart';
1112

1213
class HomePage extends StatefulWidget {
@@ -56,15 +57,15 @@ class _HomePageState extends State<HomePage> {
5657
SizedBox(
5758
height: 3,
5859
),
59-
Text("User",
60+
Text(FirebaseAuth.instance.currentUser!.displayName!,
6061
style: TextStyle(
6162
fontWeight: FontWeight.w600,
6263
fontSize: 18,
6364
)),
6465
],
6566
)),
6667
AvatarImage(
67-
"https://img.freepik.com/free-photo/abstract-grunge-decorative-relief-navy-blue-stucco-wall-texture-wide-angle-rough-colored-background_1258-28311.jpg?w=2000",
68+
FirebaseAuth.instance.currentUser!.photoURL!,
6869
isSVG: false,
6970
width: 35,
7071
height: 35,
@@ -136,3 +137,4 @@ class _HomePageState extends State<HomePage> {
136137
}
137138

138139

140+

0 commit comments

Comments
 (0)