Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/opt/development/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/zayn/Code/flutter/Flutter-Sign-in-Button"
export "FLUTTER_ROOT=/Users/jfoc/devtools/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/jfoc/Documents/GitHub/Flutter-Sign-in-Button"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "FLUTTER_BUILD_NAME=2.0.0.0"
export "FLUTTER_BUILD_NUMBER=2.0.0.0"
export "FLUTTER_BUILD_NAME=2.0.0"
export "FLUTTER_BUILD_NUMBER=2.0.0"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=false"
export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.packages"
export "PACKAGE_CONFIG=.dart_tool/package_config.json"
3 changes: 3 additions & 0 deletions lib/button_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ enum Buttons {
Hotmail,
Xbox,
Microsoft,
FireBasePhoneNumber,
}

// Added FireBasePhoneNumber by contato@juliofabio.com
17 changes: 17 additions & 0 deletions lib/button_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,23 @@ class SignInButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
switch (button) {
// Added FireBasePhoneNumber by contato@juliofabio.com

case Buttons.FireBasePhoneNumber:
return SignInButtonBuilder(
elevation: elevation,
key: const ValueKey('FireBasePhoneNumber'),
mini: mini,
text: text ?? 'Sign in with Phone #',
textColor: Colors.white,
icon: FontAwesomeIcons.phone,
iconColor: Colors.white,
backgroundColor: const Color(0xFF4285F4),
onPressed: onPressed,
padding: padding,
shape: shape,
);

case Buttons.Google:
case Buttons.GoogleDark:
return SignInButtonBuilder(
Expand Down