8000 Update fb-google-social-login.dart · UntaArabia/flutter-code-snippets@20b08e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 20b08e5

Browse files
authored
Update fb-google-social-login.dart
1 parent 6305681 commit 20b08e5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

fb-google-social-login.dart

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11

22

33

4+
// A demo social login UI (have to include the svg files in the assets...)
5+
Row(
6+
mainAxisAlignment: MainAxisAlignment.center,
7+
children: <Widget>[
8+
SocalIcon(
9+
iconSrc: "assets/icons/facebook.svg",
10+
press: () {},
11+
),
12+
SocalIcon(
13+
iconSrc: "assets/icons/twitter.svg",
14+
press: () {},
15+
),
16+
SocalIcon(
17+
iconSrc: "assets/icons/google-plus.svg",
18+
press: () {},
19+
),
20+
],
21+
)
22+
23+
24+
425
class SocalIcon extends StatelessWidget {
526
final String iconSrc;
627
final Function press;

0 commit comments

Comments
 (0)
0