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
### Keybase proof | |
I hereby claim: | |
* I am ologunb on github. | |
* I am ologunb (https://keybase.io/ologunb) on keybase. | |
* I have a public key ASDmLJdyvB_yWqR0-kluQUJP8GVx1nLbd-QCAf874Se51Ao | |
To claim this, I am signing this object: |
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 'dart:async'; | |
import 'package:dio/dio.dart'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
import 'package:fluttertoast/fluttertoast.dart'; | |
import 'package:provider/provider.dart'; | |
import 'package:thcMobile/components/authPhoneInput.dart'; | |
import 'package:thcMobile/components/headerText.dart'; |
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 'dart:convert'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:loading_overlay/loading_overlay.dart'; | |
import 'package:webview_flutter/webview_flutter.dart'; | |
class CheckoutPage extends StatefulWidget { | |
final Widget successView; | |
final String sessionId; |
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'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:fvastalpha/views/cou_service/settings/change_password.dart'; | |
import 'package:fvastalpha/views/partials/utils/constants.dart'; | |
import 'package:fvastalpha/views/partials/utils/styles.dart'; | |
import 'package:fvastalpha/views/partials/widgets/custom_button.dart'; | |
import 'package:loading_overlay/loading_overlay.dart'; | |
import 'package:cloud_firestore/cloud_firestore.dart'; | |
import 'dart:io'; | |
import 'package:shared_preferences/shared_preferences.dart'; |
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:apptawthra/widgets/show_alert_dialog.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
Future<void> showExceptionAlertDialog({ | |
@required BuildContext context, | |
@required String title, | |
@required dynamic exception, | |
}) async => | |
await showAlertDialog( |
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 'dart:io'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:google_fonts/google_fonts.dart'; | |
// Querying the environment via [Platform] throws and exception on Flutter web | |
// This extension adds a new [isWeb] getter that should be used | |
// before checking for any of the other environments |
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:dio/dio.dart'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
class DioErrorUtil { | |
// general methods:------------------------------------------------------------ | |
static String handleError(error) { | |
String errorDescription = ""; | |
if (error is DioError) { | |
switch (error.type) { | |
case DioErrorType.CANCEL: |
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 signUp() async { | |
_formKey.currentState.save(); | |
_formKey.currentState.validate(); | |
if (!_formKey.currentState.validate()) { | |
return; | |
} | |
offKeyboard(context); | |
setState(() { |
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
processTransaction(context) async { | |
var initializer = RavePayInitializer( | |
amount: double.parse(amountController.text), | |
publicKey: ravePublicKey, | |
encryptionKey: raveEncryptKey) | |
..country = "NG" | |
..currency = "NGN" | |
..email = mEmail | |
..fName = mName | |
..lName = "lName" |
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'; | |
import 'package:flutter_appmhuhyu/constants/styles.dart'; | |
import 'package:flutter_appmhuhyu/router.dart'; | |
import 'package:flutter_appmhuhyu/ui/views/home/personal/personal_chat_profile.dart'; | |
import 'package:flutter_appmhuhyu/ui/widgets/add_file_item.dart'; | |
import 'package:flutter_appmhuhyu/ui/widgets/back_button.dart'; | |
import 'package:flutter_appmhuhyu/ui/widgets/bubble_normal.dart'; | |
import 'package:flutter_appmhuhyu/ui/widgets/custom_text_widget.dart'; | |
import 'package:flutter_appmhuhyu/ui/widgets/network_image.dart'; | |
import 'package:flutter_appmhuhyu/utils/spacing.dart'; |
OlderNewer