This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| default_platform(:ios) | |
| APPLE_ISSUER_ID = ENV["APPLE_ISSUER_ID"] | |
| APPLE_KEY_CONTENT = ENV["APPLE_KEY_CONTENT"] | |
| APPLE_KEY_ID = ENV["APPLE_KEY_ID"] | |
| DEVELOPER_APP_ID = ENV["DEVELOPER_APP_ID"] | |
| DEVELOPER_APP_IDENTIFIER = ENV["DEVELOPER_APP_IDENTIFIER"] | |
| GIT_AUTHORIZATION = ENV["GIT_AUTHORIZATION"] | |
| GITHUB_RUN_NUMBER = ENV["GITHUB_RUN_NUMBER"] | |
| PROVISIONING_PROFILE_SPECIFIER = ENV["PROVISIONING_PROFILE_SPECIFIER"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--> | |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> | |
| <meta content="width=device-width" name="viewport"> | |
| <!--[if !mso]><!--> | |
| <meta content="IE=edge" http-equiv="X-UA-Compatible"> | |
| <!--<![endif]--> | |
| <title></title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class RPSCustomPainter extends CustomPainter { | |
| @override | |
| void paint(Canvas canvas, Size size) { | |
| Paint paint = new Paint() | |
| ..color = Colors.blue | |
| ..style = PaintingStyle.stroke; | |
| // Code for path | |
| // From here .... | |
| Path path = Path(); | |
| path.moveTo(size.width * 0.07, size.height * 0.08); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| child: CustomPaint( | |
| size: Size(150,250), //You can Replace this with your desired WIDTH and HEIGHT | |
| painter: RPSCustomPainter(), | |
| ), | |
| class RPSCustomPainter extends CustomPainter{ | |
| @override | |
| void paint(Canvas canvas, Size size) { | |
| Paint paint = new Paint() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(MaterialApp( | |
| home: Page1(), | |
| )); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(MaterialApp( | |
| home: Page1(), | |
| )); | |
| } | |
| class Page1 extends StatelessWidget { | |
| TextEditingController usernameController = TextEditingController(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp( | |
| MaterialApp( | |
| home: Scaffold( | |
| appBar: AppBar( | |
| title: Text("Profile page"), | |
| ), | |
| body: Column( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'Flutter Demo', | |
| debugShowCheckedModeBanner: false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Future<User> signInWithGoogle() async { | |
| final googleSignIn = GoogleSignIn(); | |
| final googleAccount = await googleSignIn.signIn(); | |
| if (googleAccount != null) { | |
| final googleAuth = await googleAccount.authentication; | |
| if (googleAuth.accessToken != null && googleAuth.idToken != null) { | |
| final authResult = await _firebaseAuth.signInWithCredential( | |
| GoogleAuthProvider.getCredential( | |
| idToken: googleAuth.idToken, | |
| accessToken: googleAuth.accessToken, |
NewerOlder