This file contains 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'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |
This file contains 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'; | |
class BorderAnimationRound extends StatefulWidget { | |
const BorderAnimationRound({Key? key}) : super(key: key); | |
@override | |
_BorderAnimationRoundState createState() => _BorderAnimationRoundState(); | |
} | |
class _BorderAnimationRoundState extends State<BorderAnimationRound> |
This file contains 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
void main() { | |
List<DensityVolume> listDensity = [DensityVolume(2.3, 3.2), DensityVolume(4.2, 2.4)]; | |
List<HeightLengthWidth> listHeight = [HeightLengthWidth(1, 1, 1), HeightLengthWidth(2, 2, 2)]; | |
List<Cube> result = []; | |
for (var i = 0; i < listDensity.length; i++) { | |
final densityElement = listDensity[i]; | |
final heightElement = listHeight[i]; | |
result.add(Cube( |
This file contains 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
GREEN='\033[0;32m' | |
NC='\033[0m' | |
LINE_BREAK="${GREEN} --- ${NC}" | |
echo "$LINE_BREAK" | |
echo "${GREEN}Welcome Screen Tests begin ${NC}" | |
echo "$LINE_BREAK" | |
# Test the Welcome Screen | |
flutter drive \ |
This file contains 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
String validString = 'This is should be valid, because of the single quote'; | |
String notValidString = "This should not be valid, because of the double quote"; |
This file contains 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 getPosts(BuildContext context) async { | |
int index = getFromSF(); | |
QuerySnapshot querySnapshot = | |
await Firestore.instance.collection('fortunepool').getDocuments(); | |
if (indexList.contains(index)) { | |
// TODO: get any other document | |
int currentIndex = index; | |
String myFortune = ""; |
This file contains 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 { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { |
This file contains 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<void> verifyEmail() async { | |
var firebaseUser = await _auth.currentUser(); | |
// Initiates email verification for the user. | |
firebaseUser.sendEmailVerification(); | |
// Returns true if the user's email is verified. | |
if(firebaseUser.isEmailVerified){ | |
// email is verified | |
} else{ | |
// email is not verified | |
} |
This file contains 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<void> verifyEmail(String password) async { | |
var firebaseUser = await _auth.currentUser(); | |
// Initiates email verification for the user. | |
firebaseUser.sendEmailVerification(); | |
// Returns true if the user's email is verified. | |
if(firebaseUser.isEmailVerified){ | |
// email is verified | |
} else{ | |
// email is not verified | |
} |
This file contains 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
/usr/bin/xcrun altool --validate-app -f /Users/builder/ipas/Save_Recipes.ipa -t ios -u @env:APP_STORE_CONNECT_EMAIL -p @env:APP_STORE_CONNECT_PASSWORD --output-format normal (--verbose) |
NewerOlder